updated urls ard ports
This commit is contained in:
parent
5f757f758a
commit
9aa42fc1f1
@ -32,7 +32,7 @@ daddy.controller("galleryCtrlr", function($scope, $http, $timeout, stateData){
|
|||||||
formData.append('_id', piccy._id)
|
formData.append('_id', piccy._id)
|
||||||
|
|
||||||
$http({
|
$http({
|
||||||
url : 'http://127.0.0.1:7001/gallery/comment',
|
url : server + '/gallery/comment',
|
||||||
method : 'POST',
|
method : 'POST',
|
||||||
data : formData,
|
data : formData,
|
||||||
headers : {'Content-Type' : undefined},
|
headers : {'Content-Type' : undefined},
|
||||||
@ -113,7 +113,7 @@ daddy.controller("uploadCtrlr", function($scope, $http){
|
|||||||
formData.append('Image', $scope.files[0])
|
formData.append('Image', $scope.files[0])
|
||||||
|
|
||||||
$http({
|
$http({
|
||||||
url : 'http://127.0.0.1:7001/gallery/add',
|
url : server + '/gallery/add',
|
||||||
method : 'POST',
|
method : 'POST',
|
||||||
data : formData,
|
data : formData,
|
||||||
headers : {'Content-Type' : undefined},
|
headers : {'Content-Type' : undefined},
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
let daddy = angular.module("daddy", ["ngRoute", "ngAnimate"])
|
let daddy = angular.module("daddy", ["ngRoute", "ngAnimate"])
|
||||||
|
|
||||||
let server = "http://127.0.0.1:7001"
|
let server = "https://www.inkletblot.com:7001"
|
||||||
|
|
||||||
daddy.controller("bodyCtrlr", function($scope, stateData){
|
daddy.controller("bodyCtrlr", function($scope, stateData){
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user