update server port

This commit is contained in:
2023-08-06 03:29:14 +03:00
parent e2ca5f95f5
commit baa6937bef
3 changed files with 5 additions and 5 deletions

View File

@@ -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: {