mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-24 22:57:13 -04:00
no log: fix vite configuration linter
This commit is contained in:
parent
74494d2edc
commit
d4efdedd4d
2 changed files with 7 additions and 7 deletions
|
@ -12,11 +12,11 @@ import { VitePWA } from "vite-plugin-pwa";
|
|||
import chunks from "./config/chunks";
|
||||
import overrideEnv from "./config/configReader";
|
||||
|
||||
export default defineConfig(async ({ mode, command }) => {
|
||||
export default defineConfig(({ mode, command }) => {
|
||||
const env = loadEnv(mode, process.cwd());
|
||||
|
||||
if (command === "serve") {
|
||||
await overrideEnv(env);
|
||||
overrideEnv(env);
|
||||
}
|
||||
|
||||
const target = env.VITE_PROXY_URL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue