diff options
author | crupest <crupest@outlook.com> | 2023-07-10 18:28:54 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-07-10 18:28:54 +0800 |
commit | d8959bc897ccadb3083f59f31fc041b42f1b9466 (patch) | |
tree | 9624342bb75b752bc4257c4251aa4f8347f7ac95 /FrontEnd/vite.config.js | |
parent | 158b467fff07981b43af81f6520d3dba06baeffa (diff) | |
download | timeline-d8959bc897ccadb3083f59f31fc041b42f1b9466.tar.gz timeline-d8959bc897ccadb3083f59f31fc041b42f1b9466.tar.bz2 timeline-d8959bc897ccadb3083f59f31fc041b42f1b9466.zip |
Now front end is ok!
Diffstat (limited to 'FrontEnd/vite.config.js')
-rw-r--r-- | FrontEnd/vite.config.js | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/FrontEnd/vite.config.js b/FrontEnd/vite.config.js deleted file mode 100644 index f1192c96..00000000 --- a/FrontEnd/vite.config.js +++ /dev/null @@ -1,25 +0,0 @@ -/**
- * @type {import('vite').UserConfig}
- */
-
-import { defineConfig } from "vite";
-import react from "@vitejs/plugin-react";
-
-export default defineConfig({
- plugins: [
- react(),
- ],
- resolve: {
- alias: [{ find: "@", replacement: "/src" }],
- },
- server: {
- port: 10030,
- proxy: {
- "/api": {
- target: "http://localhost:5000",
- changeOrigin: true,
- ws: true,
- },
- },
- },
-});
|