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 /src/site/plugins/nuxt-client-init.js | |
| 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 'src/site/plugins/nuxt-client-init.js')
| -rw-r--r-- | src/site/plugins/nuxt-client-init.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/site/plugins/nuxt-client-init.js b/src/site/plugins/nuxt-client-init.js new file mode 100644 index 0000000..4b10dcd --- /dev/null +++ b/src/site/plugins/nuxt-client-init.js @@ -0,0 +1,3 @@ +export default async ctx => { + await ctx.store.dispatch('nuxtClientInit', ctx); +}; |