main.js düzeltilerek dist alındı

parent 4598819e
......@@ -57,7 +57,7 @@ angular.module(
// todo: convert it to service
.constant("RESTURL", (function () {
// 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) {
var cookiearray = document.cookie.split(';');
angular.forEach(cookiearray, function (item) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
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