From c114e59be329fa9ceb8f1f8e79356a0e3afbd1ae Mon Sep 17 00:00:00 2001 From: Pitu Date: Sat, 9 May 2020 19:21:20 +0900 Subject: 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` --- pm2.json | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'pm2.json') 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" }, -- cgit v1.2.3