We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4f55cc commit da237b3Copy full SHA for da237b3
1 file changed
render.yaml
@@ -1,7 +1,7 @@
1
services:
2
- type: web
3
name: atxp-express-backend
4
- env: node
+ runtime: node
5
plan: free
6
buildCommand: cd backend && npm install && npm run build
7
startCommand: cd backend && npm start
@@ -16,13 +16,14 @@ services:
16
17
18
name: atxp-express-frontend
19
- env: static
20
- plan: free
+ runtime: static
21
buildCommand: cd frontend && npm install && npm run build
22
staticPublishPath: frontend/build
23
routes:
24
- type: rewrite
25
source: /api/*
+ # TODO: Replace 'atxp-express-backend' with your actual backend service name
26
+ # The backend service URL will be: https://YOUR-BACKEND-SERVICE-NAME.onrender.com
27
destination: https://atxp-express-backend.onrender.com/api/*
28
29
source: /*
0 commit comments