Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

chore: whoops

Kaname2c4bfab01a71
diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts
index 337d276822..dbec9dafb7 100644
--- a/apps/api/src/lib/common.ts
+++ b/apps/api/src/lib/common.ts
@@ -46,8 +46,8 @@ export function getAPIUrl() {
return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/, '3001')}`;
}
return isDev
- ? 'https://kaname-png-coolify-vrgj9w6jq5x2xxxv-3001.githubpreview.dev'
- : 'https://kaname-png-coolify-vrgj9w6jq5x2xxxv-3000.githubpreview.dev';
+ ? 'http://localhost:3001'
+ : 'http://localhost:3000';
}
export function getUIUrl() {
@@ -59,7 +59,7 @@ export function getUIUrl() {
if (process.env.CODESANDBOX_HOST) {
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
diff --git a/apps/ui/src/lib/api.ts b/apps/ui/src/lib/api.ts
index bc7b4d9aca..1520f863c8 100644
--- a/apps/ui/src/lib/api.ts
+++ b/apps/ui/src/lib/api.ts
@@ -11,8 +11,8 @@ export function getAPIUrl() {
return `https://${CODESANDBOX_HOST.replace(/\$PORT/, '3001')}`;
}
return dev
- ? 'https://kaname-png-coolify-vrgj9w6jq5x2xxxv-3001.githubpreview.dev'
- : 'https://kaname-png-coolify-vrgj9w6jq5x2xxxv-3000.githubpreview.dev';
+ ? 'http://localhost:3001'
+ : 'http://localhost:3000';
}
export function getWebhookUrl(type: string) {
if (GITPOD_WORKSPACE_URL) {