mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Configure for layer0 deployment
This commit is contained in:
parent
f252322ccc
commit
a8842fbb41
4 changed files with 32 additions and 0 deletions
11
routes.js
Normal file
11
routes.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// This file was added by layer0 init.
|
||||
// You should commit this file to source control.
|
||||
|
||||
const { Router } = require('@layer0/core/router')
|
||||
const { nuxtRoutes } = require('@layer0/nuxt')
|
||||
|
||||
module.exports = new Router()
|
||||
.match('/service-worker.js', ({ serviceWorker }) => {
|
||||
serviceWorker('.nuxt/dist/client/service-worker.js')
|
||||
})
|
||||
.use(nuxtRoutes)
|
||||
Loading…
Add table
Add a link
Reference in a new issue