diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-01-08 08:08:39 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-01-08 08:08:39 -0600 |
| commit | 98b54c233de1864f835a36fdafad2adf63c4c167 (patch) | |
| tree | 4a6746c8e581425d770a9196dae88b1c0d0b220a /src | |
| parent | 5ad2763feeccc5483e35e6cd3718f2279683f76e (diff) | |
| download | slskd-98b54c233de1864f835a36fdafad2adf63c4c167.tar.gz | |
update api url
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/config.js | 8 |
1 files changed, 4 insertions, 4 deletions
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, |
