aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-01-14 22:09:29 -0600
committerJP Dillingham <jp@dillingham.me>2023-01-14 22:09:29 -0600
commit1d5de68558dd90b17a87faf97e8e6a9655041e4c (patch)
tree05d8ec8dd277154259fa46a295c8f5032a66193d /src/web
parent738c97d815068e9596d1b209fd1ce3da8244409e (diff)
downloadslskd-1d5de68558dd90b17a87faf97e8e6a9655041e4c.tar.gz
update default api in web
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/src/config.js b/src/web/src/config.js
index 1cec9668..2663be36 100644
--- a/src/web/src/config.js
+++ b/src/web/src/config.js
@@ -1,5 +1,5 @@
const urlBase = (window.urlBase === '/' ? '' : window.urlBase) || '';
-const rootUrl = process.env.NODE_ENV === 'production' ? urlBase : `http://localhost:5000${urlBase}`;
+const rootUrl = process.env.NODE_ENV === 'production' ? urlBase : `http://localhost:5030${urlBase}`;
const apiBaseUrl = `${rootUrl}/api/v0`;
const hubBaseUrl = `${rootUrl}/hub`;
const tokenKey = 'slskd-token';