Use global serve instead of npm start
All checks were successful
Build & Deploy OS League Tools / build-and-deploy (push) Successful in 43s

This commit is contained in:
2026-01-17 00:01:11 +00:00
parent c1827f2a5a
commit dd5c642307

View File

@@ -16,7 +16,7 @@ Environment="PORT=3000"
# Environment="REACT_APP_RELDO_URL=http://localhost:8080"
# 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=on-failure