mirror of
https://github.com/nianzhibai/91.git
synced 2026-06-15 00:44:30 +08:00
3506328441
Add PikPak backend driver, fixed tag matching, cached transcode playback, fast cover handling, and LF normalization.
22 lines
442 B
TypeScript
22 lines
442 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import path from "node:path";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "src"),
|
|
},
|
|
},
|
|
server: {
|
|
host: "0.0.0.0",
|
|
port: 9191,
|
|
proxy: {
|
|
"/api": "http://127.0.0.1:9192",
|
|
"/p": "http://127.0.0.1:9192",
|
|
"/admin/api": "http://127.0.0.1:9192",
|
|
},
|
|
},
|
|
});
|