diff options
| author | Pitu <[email protected]> | 2020-05-09 19:21:20 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2020-05-09 19:21:20 +0900 |
| commit | c114e59be329fa9ceb8f1f8e79356a0e3afbd1ae (patch) | |
| tree | a9166ef288e882452815ed1889186f2fda6b2588 /pm2.json | |
| parent | wip: (diff) | |
| download | host.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.json | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -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" }, |