Computer-Vision-Lab / vite.config.js
YOUSEF2434's picture
Update vite.config.js
5b5b8a5 verified
raw
history blame contribute delete
372 Bytes
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
import path from "path";
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
},
},
server: {
host: "0.0.0.0",
port: 7860,
allowedHosts: ["yousef2434-computer-vision-lab.hf.space", ".hf.space"],
},
});