mirror of
https://github.com/vee1e/krply.git
synced 2026-09-01 09:49:51 +00:00
chore: remove Render configs, point docs at VPS domains
This commit is contained in:
parent
d892c9a9fc
commit
ee24a5e304
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ const PROD_HOSTS = new Set([
|
||||||
'krply.lverma.com',
|
'krply.lverma.com',
|
||||||
'krply-web-lakshit-vermas-projects.vercel.app',
|
'krply-web-lakshit-vermas-projects.vercel.app',
|
||||||
]);
|
]);
|
||||||
const DEFAULT_SERVER = PROD_HOSTS.has(location.hostname) ? 'https://krply-server.onrender.com' : '';
|
const DEFAULT_SERVER = PROD_HOSTS.has(location.hostname) ? 'https://krply-api.lverma.com' : '';
|
||||||
|
|
||||||
let base = (fromURL || localStorage.getItem(LS_KEY) || DEFAULT_SERVER).replace(/\/+$/, '');
|
let base = (fromURL || localStorage.getItem(LS_KEY) || DEFAULT_SERVER).replace(/\/+$/, '');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue