File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11services :
22 - type : web
33 name : atxp-express-backend
4- env : node
4+ runtime : node
55 plan : free
66 buildCommand : cd backend && npm install && npm run build
77 startCommand : cd backend && npm start
@@ -16,13 +16,14 @@ services:
1616
1717 - type : web
1818 name : atxp-express-frontend
19- env : static
20- plan : free
19+ runtime : static
2120 buildCommand : cd frontend && npm install && npm run build
2221 staticPublishPath : frontend/build
2322 routes :
2423 - type : rewrite
2524 source : /api/*
25+ # 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
2627 destination : https://atxp-express-backend.onrender.com/api/*
2728 - type : rewrite
2829 source : /*
You can’t perform that action at this time.
0 commit comments