Use global serve instead of npm start
All checks were successful
Build & Deploy OS League Tools / build-and-deploy (push) Successful in 43s
All checks were successful
Build & Deploy OS League Tools / build-and-deploy (push) Successful in 43s
This commit is contained in:
@@ -16,7 +16,7 @@ Environment="PORT=3000"
|
|||||||
# Environment="REACT_APP_RELDO_URL=http://localhost:8080"
|
# Environment="REACT_APP_RELDO_URL=http://localhost:8080"
|
||||||
|
|
||||||
# Start the application (serves the pre-built static files)
|
# Start the application (serves the pre-built static files)
|
||||||
ExecStart=/usr/bin/npm start
|
ExecStart=/usr/bin/serve -s build -l 3000
|
||||||
|
|
||||||
# Restart policy
|
# Restart policy
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|||||||
Reference in New Issue
Block a user