mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-21 04:18:11 -04:00
i think hash-less urls are working
This commit is contained in:
parent
05e15b9667
commit
2e1601ac81
5 changed files with 24 additions and 15 deletions
|
@ -4,7 +4,7 @@ var brozzlerControllers = angular.module("brozzlerControllers", []);
|
|||
|
||||
brozzlerControllers.controller("JobsListController", ["$scope", "$http",
|
||||
function($scope, $http) {
|
||||
$http.get("api/jobs").success(function(data) {
|
||||
$http.get("/api/jobs").success(function(data) {
|
||||
console.log(data);
|
||||
$scope.jobs = data.jobs;
|
||||
});
|
||||
|
@ -13,7 +13,7 @@ brozzlerControllers.controller("JobsListController", ["$scope", "$http",
|
|||
brozzlerControllers.controller("JobController", ["$scope", "$routeParams", "$http",
|
||||
function($scope, $routeParams, $http) {
|
||||
$scope.phoneId = $routeParams.phoneId;
|
||||
$http.get("api/jobs/" + $routeParams.id).success(function(data) {
|
||||
$http.get("/api/jobs/" + $routeParams.id).success(function(data) {
|
||||
console.log(data);
|
||||
$scope.job = data;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue