update server port
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { routes } from './routes.js';
|
||||
|
||||
let DEBUG = true;
|
||||
let DEBUG = false;
|
||||
window.DEBUG = DEBUG;
|
||||
|
||||
let SERVER_HOST;
|
||||
@@ -72,7 +72,7 @@ function get_from_api(callback, api_method = '', params = {}) {
|
||||
if (api_method == '') {
|
||||
console.log('wrong method');
|
||||
} else {
|
||||
let url = `http://${SERVER_HOST}:3000/api/v1.0/${api_method}`;
|
||||
let url = `http://${SERVER_HOST}:50009/api/v1.0/${api_method}`;
|
||||
let opts = {
|
||||
method: 'get',
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user