Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ http {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://backend:8001;
proxy_pass http://backend:8001/api/v1/static/;
}

# ==================== 错误页面 ====================
Expand Down
3 changes: 2 additions & 1 deletion frontend/web/src/utils/sys/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { upgradeLogList } from "@/mock/upgrade/changeLog";
import { ElNotification } from "element-plus";
import { useUserStore } from "@stores";
import { StorageConfig } from "@utils";
import { BANNER } from "../../../build/banner";

const BANNER = "CodataAdmin";

// -----------------------------
// Console banner:ANSI 转义码生成网站 https://patorjk.com/software/taag/
Expand Down
2 changes: 0 additions & 2 deletions frontend/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import AutoImport from "unplugin-auto-import/vite";
import ElementPlus from "unplugin-element-plus/vite";
import { ElementPlusResolver } from "unplugin-vue-components/resolvers";
import tailwindcss from "@tailwindcss/vite";
import vitePluginStart from "./build/vitePluginStart";
import { name, version, engines, dependencies, devDependencies } from "./package.json";

const __dirname = path.dirname(fileURLToPath(import.meta.url));
Expand Down Expand Up @@ -196,7 +195,6 @@ export default ({ mode }: { mode: string }) => {
},
plugins: [
vue(),
vitePluginStart(),
tailwindcss(),
AutoImport({
imports: ["vue", "vue-router", "pinia", "@vueuse/core", "vue-i18n"],
Expand Down