chore: whoops
This commit is contained in:
parent
e689be552b
commit
2c4bfab01a
@ -46,8 +46,8 @@ export function getAPIUrl() {
|
|||||||
return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/, '3001')}`;
|
return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/, '3001')}`;
|
||||||
}
|
}
|
||||||
return isDev
|
return isDev
|
||||||
? 'https://kaname-png-coolify-vrgj9w6jq5x2xxxv-3001.githubpreview.dev'
|
? 'http://localhost:3001'
|
||||||
: 'https://kaname-png-coolify-vrgj9w6jq5x2xxxv-3000.githubpreview.dev';
|
: 'http://localhost:3000';
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getUIUrl() {
|
export function getUIUrl() {
|
||||||
@ -59,7 +59,7 @@ export function getUIUrl() {
|
|||||||
if (process.env.CODESANDBOX_HOST) {
|
if (process.env.CODESANDBOX_HOST) {
|
||||||
return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/, '3000')}`;
|
return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/, '3000')}`;
|
||||||
}
|
}
|
||||||
return 'https://kaname-png-coolify-vrgj9w6jq5x2xxxv-3000.githubpreview.dev';
|
return 'http://localhost:3000';
|
||||||
}
|
}
|
||||||
|
|
||||||
const mainTraefikEndpoint = isDev
|
const mainTraefikEndpoint = isDev
|
||||||
|
@ -11,8 +11,8 @@ export function getAPIUrl() {
|
|||||||
return `https://${CODESANDBOX_HOST.replace(/\$PORT/, '3001')}`;
|
return `https://${CODESANDBOX_HOST.replace(/\$PORT/, '3001')}`;
|
||||||
}
|
}
|
||||||
return dev
|
return dev
|
||||||
? 'https://kaname-png-coolify-vrgj9w6jq5x2xxxv-3001.githubpreview.dev'
|
? 'http://localhost:3001'
|
||||||
: 'https://kaname-png-coolify-vrgj9w6jq5x2xxxv-3000.githubpreview.dev';
|
: 'http://localhost:3000';
|
||||||
}
|
}
|
||||||
export function getWebhookUrl(type: string) {
|
export function getWebhookUrl(type: string) {
|
||||||
if (GITPOD_WORKSPACE_URL) {
|
if (GITPOD_WORKSPACE_URL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user