Updated CORS & serving hosts

This commit is contained in:
2024-08-14 17:53:31 +08:00
parent 082e01599b
commit c79bb5475d
2 changed files with 10 additions and 6 deletions

View File

@@ -1,7 +1,11 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
})
server: {
host: "0.0.0.0",
port: 5173,
},
});