Update dependencies and Vite config

This commit is contained in:
root 2026-02-01 19:54:44 +00:00
parent dffb05f75a
commit 32fa617f32
3 changed files with 2413 additions and 1783 deletions

4186
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,9 @@
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build",
"preview": "vite preview" "preview": "vite preview",
"start": "vite --host 0.0.0.0 --port 3001"
}, },
"dependencies": { "dependencies": {
"@hookform/resolvers": "^3.10.0", "@hookform/resolvers": "^3.10.0",

View File

@ -27,12 +27,12 @@ export default defineConfig({
}, },
}, },
server: { server: {
port: 3000, port: 3001,
strictPort: true, strictPort: true,
allowedHosts: ["localhost", "127.0.0.1", ".ngrok-free.dev", ".ngrok-free.app", ".ngrok.io"], allowedHosts: ["*","app.quantfortune.com"],
proxy: { proxy: {
"/api": { "/api": {
target: "http://localhost:8000", target: "https://api.quantfortune.com/",
changeOrigin: true, changeOrigin: true,
secure: false, secure: false,
}, },