Commit 9f4e6b93 authored by Mücahit Büyükyılmaz's avatar Mücahit Büyükyılmaz Committed by GitHub

Update app.js

changed api-backend
parent 5ebe0a43
...@@ -52,7 +52,7 @@ angular.module( ...@@ -52,7 +52,7 @@ angular.module(
// todo: convert it to service // todo: convert it to service
.constant("RESTURL", (function () { .constant("RESTURL", (function () {
// todo: below backendurl definition is for development purpose and will be deleted // todo: below backendurl definition is for development purpose and will be deleted
var backendurl = location.href.indexOf('nightly') > -1 ? "//nightly.api.ulakbus.net/" : "//api.ulakbus.net/"; var backendurl = location.href.indexOf('nightly') > -1 ? "//ulakbus-nightly-api.konya.edu.tr/" : "//ulakbus-api.konya.edu.tr/";
if (document.cookie.indexOf("backendurl") > -1) { if (document.cookie.indexOf("backendurl") > -1) {
var cookiearray = document.cookie.split(';'); var cookiearray = document.cookie.split(';');
angular.forEach(cookiearray, function (item) { angular.forEach(cookiearray, function (item) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment