fix: fork pr previews

This commit is contained in:
Andras Bacsai
2022-10-03 09:48:47 +02:00
parent 755eeda364
commit 9a67cf7355
5 changed files with 9 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ export function getAPIUrl() {
if (process.env.CODESANDBOX_HOST) {
return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/, '3001')}`;
}
return isDev ? 'http://host.docker.internal:3001' : 'http://localhost:3000';
return isDev ? 'http://localhost:3001' : 'http://localhost:3000';
}
export function getUIUrl() {