API & AngularJS: Updating API Routes - API_Dev Merge
and Service Update
This commit is contained in:
parent
1c05b8aea1
commit
1ec45d107c
2 changed files with 2 additions and 2 deletions
|
@ -188,4 +188,4 @@ def getCampusId(name):
|
|||
|
||||
@campus_routes.route('/api/campuses/help')
|
||||
def documentation():
|
||||
return auto.html()
|
||||
return auto.html()
|
||||
|
|
|
@ -16,7 +16,7 @@ service.factory('apiService', ['$http', function($http) {
|
|||
return $http(req);
|
||||
},
|
||||
getAllCampuses: function(token){
|
||||
var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/campuses/" + token;
|
||||
var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/campuses/getAll/" + token;
|
||||
req = {
|
||||
method : "GET",
|
||||
url : url
|
||||
|
|
Loading…
Reference in a new issue