moved channel automation code into helper
This commit is contained in:
@@ -8,6 +8,14 @@ export default defineConfig(({ command }) => {
|
||||
if (command === "build") {
|
||||
return { plugins: [vue()], base: "/ca_vue_apps/dist" };
|
||||
} else {
|
||||
return { plugins: [eslintPlugin(), mkcert(), vue()] };
|
||||
return {
|
||||
cors: {
|
||||
origin: "*",
|
||||
methods: "GET,HEAD,PUT,PATCH,POST,DELETE",
|
||||
preflightContinue: false,
|
||||
optionsSuccessStatus: 204,
|
||||
},
|
||||
plugins: [eslintPlugin(), mkcert(), vue()],
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user