Skip to content

Commit

Permalink
ediitng procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jrk12b committed Jan 12, 2025
1 parent 20e8f3a commit 4110174
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
web: serve -s build
# For the frontend app (served from the 'build' directory)
web: if [ "$APP_TYPE" == "frontend" ]; then serve -s build; fi
# For the backend app (Node.js backend)
backend: if [ "$APP_TYPE" == "backend" ]; then node ./backend/server.js; fi

0 comments on commit 4110174

Please sign in to comment.