mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
fix ci/cd
This commit is contained in:
parent
a2508e5bbe
commit
886d1b7a50
5 changed files with 99 additions and 12 deletions
|
@ -1,3 +1,5 @@
|
|||
// TODO: Fix composition API "Should only be called once" error
|
||||
|
||||
export default {
|
||||
// Global page headers: https://go.nuxtjs.dev/config-head
|
||||
head: {
|
||||
|
@ -64,14 +66,6 @@ export default {
|
|||
"@nuxtjs/proxy",
|
||||
],
|
||||
|
||||
proxy: {
|
||||
// see Proxy section
|
||||
"/api": {
|
||||
changeOrigin: true,
|
||||
target: "http://localhost:9000",
|
||||
},
|
||||
},
|
||||
|
||||
auth: {
|
||||
redirect: {
|
||||
login: "/user/login",
|
||||
|
@ -183,7 +177,17 @@ export default {
|
|||
},
|
||||
|
||||
// Axios module configuration: https://go.nuxtjs.dev/config-axios
|
||||
axios: {},
|
||||
axios: {
|
||||
proxy: true,
|
||||
},
|
||||
|
||||
proxy: {
|
||||
// see Proxy section
|
||||
"/api": {
|
||||
changeOrigin: true,
|
||||
target: process.env.NODE_ENV === "production" ? "http://mealie-api:9000" : "http://localhost:9000",
|
||||
},
|
||||
},
|
||||
|
||||
// PWA module configuration: https://go.nuxtjs.dev/pwa
|
||||
pwa: {
|
||||
|
@ -230,5 +234,7 @@ export default {
|
|||
},
|
||||
|
||||
// Build Configuration: https://go.nuxtjs.dev/config-build
|
||||
build: {},
|
||||
build: {
|
||||
transpile: [/@vue[\\/]composition-api/],
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue