This commit is contained in:
Ariel Weinberger
2025-07-18 14:26:23 -05:00
parent 984f0b8581
commit 9eeffc6256
3 changed files with 6 additions and 6 deletions
+1 -4
View File
@@ -4,7 +4,4 @@ PUBLIC_APPWRITE_MULTI_REGION=false
PUBLIC_APPWRITE_ENDPOINT=http://localhost/v1
PUBLIC_STRIPE_KEY=
PUBLIC_GROWTH_ENDPOINT=
PUBLIC_AI_SERVICE_BASE_URL=http://localhost:8889
WORKSPACE_URL_PROTOCOL=http
WORKSPACE_URL_DOMAIN=functions.localhost
WORKSPACE_URL_PORT=4002
PUBLIC_AI_SERVICE_BASE_URL=http://localhost:8889
+4 -1
View File
@@ -1,2 +1,5 @@
ANTHROPIC_API_KEY=
APPWRITE_ENDPOINT=http://localhost/v1
APPWRITE_ENDPOINT=http://localhost/v1
WORKSPACE_URL_PROTOCOL=http
WORKSPACE_URL_DOMAIN=functions.localhost
WORKSPACE_URL_PORT=4002
+1 -1
View File
@@ -239,7 +239,7 @@ export class SynapseHTTPClient {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Host': `${this.artifactId}.functions.localhost`
'X-Host': `${this.artifactId}.${process.env.WORKSPACE_URL_DOMAIN}`
},
body: JSON.stringify(body)
});