From 98b54c233de1864f835a36fdafad2adf63c4c167 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 8 Jan 2021 08:08:39 -0600 Subject: update api url --- src/web/src/config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/web') diff --git a/src/web/src/config.js b/src/web/src/config.js index ccdeff9e..f59fbcd8 100644 --- a/src/web/src/config.js +++ b/src/web/src/config.js @@ -1,8 +1,8 @@ -const baseUrl = process.env.NODE_ENV === 'production' ? 'api/v1' : 'http://localhost:5000/api/v1'; -const tokenKey = 'soulseek-example-token'; +const baseUrl = process.env.NODE_ENV === 'production' ? 'api/v0' : 'http://localhost:5000/api/v0'; +const tokenKey = 'slskd-token'; const tokenPassthroughValue = 'n/a'; -const activeChatKey = 'soulseek-example-active-chat'; -const activeRoomKey = 'soulseek-example-active-room'; +const activeChatKey = 'slskd-active-chat'; +const activeRoomKey = 'sslskd-active-room'; export { baseUrl, -- cgit v1.2.3