aboutsummaryrefslogtreecommitdiff
path: root/pm2.json
diff options
context:
space:
mode:
authorPitu <[email protected]>2020-05-09 19:21:20 +0900
committerPitu <[email protected]>2020-05-09 19:21:20 +0900
commitc114e59be329fa9ceb8f1f8e79356a0e3afbd1ae (patch)
treea9166ef288e882452815ed1889186f2fda6b2588 /pm2.json
parentwip: (diff)
downloadhost.fuwn.me-c114e59be329fa9ceb8f1f8e79356a0e3afbd1ae.tar.xz
host.fuwn.me-c114e59be329fa9ceb8f1f8e79356a0e3afbd1ae.zip
Feature:
* Frontend is now served by the API process * Only 1 process spawns for lolisafe to work * Switched frontend from server-side render to static site, now saved in `/dist`
Diffstat (limited to 'pm2.json')
-rw-r--r--pm2.json15
1 files changed, 2 insertions, 13 deletions
diff --git a/pm2.json b/pm2.json
index 3be4f86..57c3598 100644
--- a/pm2.json
+++ b/pm2.json
@@ -1,20 +1,9 @@
{
"apps" : [
{
- "name": "lolisafe-api",
+ "name": "lolisafe",
"script": "npm",
- "args": "run api",
- "env": {
- "NODE_ENV": "production"
- },
- "env_production" : {
- "NODE_ENV": "production"
- }
- },
- {
- "name": "lolisafe-website",
- "script": "npm",
- "args": "run site",
+ "args": "run start",
"env": {
"NODE_ENV": "production"
},