2020-05-18 08:21:15 +00:00
|
|
|
export default {
|
|
|
|
publicRuntimeConfig: {
|
2020-05-27 10:38:39 +00:00
|
|
|
baseURL: process.env.BASE_URL,
|
2020-09-03 11:42:17 +00:00
|
|
|
isFixture: true,
|
2021-02-19 16:33:00 +00:00
|
|
|
TOKEN: 'default',
|
|
|
|
nested: {
|
|
|
|
priv: 0,
|
|
|
|
pub: 1
|
|
|
|
}
|
2020-05-18 08:21:15 +00:00
|
|
|
},
|
|
|
|
privateRuntimeConfig: {
|
|
|
|
baseURL: '${PUBLIC_URL}${BASE_URL}',
|
2020-09-09 08:50:27 +00:00
|
|
|
API_SECRET: '',
|
2021-02-19 16:33:00 +00:00
|
|
|
FOO: '123/${FOO}',
|
|
|
|
nested: {
|
|
|
|
priv: 1
|
|
|
|
}
|
2020-05-18 08:21:15 +00:00
|
|
|
},
|
|
|
|
serverMiddleware: [
|
|
|
|
(req, _, next) => {
|
|
|
|
if (req.url.includes('?spa')) {
|
|
|
|
req.spa = true
|
|
|
|
}
|
|
|
|
next()
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|