YOUSEF2434 commited on
Commit
5b5b8a5
·
verified ·
1 Parent(s): 180349e

Update vite.config.js

Browse files
Files changed (1) hide show
  1. vite.config.js +17 -12
vite.config.js CHANGED
@@ -1,12 +1,17 @@
1
- import react from "@vitejs/plugin-react";
2
- import { defineConfig } from "vite";
3
- import path from "path";
4
-
5
- export default defineConfig({
6
- plugins: [react()],
7
- resolve: {
8
- alias: {
9
- "@": path.resolve(__dirname, "src"),
10
- },
11
- },
12
- });
 
 
 
 
 
 
1
+ import react from "@vitejs/plugin-react";
2
+ import { defineConfig } from "vite";
3
+ import path from "path";
4
+
5
+ export default defineConfig({
6
+ plugins: [react()],
7
+ resolve: {
8
+ alias: {
9
+ "@": path.resolve(__dirname, "src"),
10
+ },
11
+ },
12
+ server: {
13
+ host: "0.0.0.0",
14
+ port: 7860,
15
+ allowedHosts: ["yousef2434-computer-vision-lab.hf.space", ".hf.space"],
16
+ },
17
+ });