flosight-api/public/src/js/services/api.js
Jason Dreyzehner 340decd978 Route caching bug fix, simplify routing (#763)
* move window.apiPrefix into Angular service

* avoid routing by accept headers, integrate api service

* Revert "Fixed over-matching of index route."

This reverts commit 62e1225dd3.

* better name for index template file
2017-05-04 12:42:17 -04:00

10 lines
145 B
JavaScript

'use strict';
angular.module('insight.api')
.factory('Api',
function() {
return {
apiPrefix: '/insight-api'
}
});