There was an error while loading. Please reload this page.
2 parents e4ee935 + 9d68c0c commit e19d969Copy full SHA for e19d969
1 file changed
render.yaml
@@ -3,6 +3,8 @@ services:
3
type: web
4
env: static
5
buildCommand: cd packages/web && npm ci && npm run build
6
+ domains:
7
+ - code-vs-code.utcode.net
8
staticPublishPath: packages/web/dist
9
headers:
10
- path: /*
@@ -12,13 +14,20 @@ services:
12
14
- type: rewrite
13
15
source: /*
16
destination: /index.html
17
+ envVars:
18
+ - key: VITE_SERVER_ORIGIN
19
+ value: https://api.code-vs-code.utcode.net
20
- name: server
21
22
env: node
23
buildCommand: cd packages/server && npm ci && npm run build
24
startCommand: cd packages/server && npm start
25
26
+ - api.code-vs-code.utcode.net
27
region: singapore
28
plan: free
29
envVars:
30
+ - key: WEB_ORIGIN
31
+ value: https://code-vs-code.utcode.net
32
- key: PORT
33
value: 8081
0 commit comments