1
0
forked from baron/baron-sso

adminfront codecheck 오류 수정2

This commit is contained in:
2026-04-28 14:54:33 +09:00
parent 0c5a302105
commit 7607d8d9b9
3 changed files with 9 additions and 2 deletions

View File

@@ -1,9 +1,15 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
const buildOutDir =
process.env.ADMINFRONT_BUILD_OUT_DIR ?? "/tmp/baron-sso-adminfront-dist";
export default defineConfig({
plugins: [react()],
envPrefix: ["VITE_", "USERFRONT_"],
build: {
outDir: buildOutDir,
},
server: {
host: "127.0.0.1",
allowedHosts: ["sadmin.hmac.kr", "localhost", "172.16.10.176", "127.0.0.1"],