minor fix

This commit is contained in:
DOHA
2015-11-10 22:18:53 +02:00
parent 5e5c2ef54c
commit 4c6b19b91d
6 changed files with 13 additions and 12 deletions

View File

@@ -1,2 +1,2 @@
#server.context-path=/ui
#server.port=8080
server.contextPath=/spring-security-oauth-ui-implicit
server.port=8081

View File

@@ -10,9 +10,9 @@
<oauth
site="http://localhost:8080/spring-security-oauth-server"
site="http://localhost:8081/spring-security-oauth-server"
client-id="clientId"
redirect-uri="http://localhost:8080/spring-security-oauth-ui-implicit/index"
redirect-uri="http://localhost:8081/spring-security-oauth-ui-implicit/index"
scope="read"
template="oauthTemp">
</oauth>
@@ -44,7 +44,7 @@ app.controller('mainCtrl', function($scope,$resource,$http) {
});
$scope.foo = {id:0 , name:"sample foo"};
$scope.foos = $resource("http://localhost:8080/spring-security-oauth-resource/foos/:fooId",{fooId:'@id'});
$scope.foos = $resource("http://localhost:8081/spring-security-oauth-resource/foos/:fooId",{fooId:'@id'});
$scope.getFoo = function(){
$scope.foo = $scope.foos.get({fooId:$scope.foo.id});