Spaces:
Paused
Paused
Update vite.config.ts
Browse files- vite.config.ts +3 -3
vite.config.ts
CHANGED
|
@@ -4,8 +4,8 @@ import react from '@vitejs/plugin-react'
|
|
| 4 |
export default defineConfig({
|
| 5 |
plugins: [react()],
|
| 6 |
server: {
|
| 7 |
-
host: true,
|
| 8 |
-
port: 7860,
|
| 9 |
-
allowedHosts: ['sanch1tx-studyassist.hf.space'],
|
| 10 |
},
|
| 11 |
})
|
|
|
|
| 4 |
export default defineConfig({
|
| 5 |
plugins: [react()],
|
| 6 |
server: {
|
| 7 |
+
host: true, // listen on all interfaces
|
| 8 |
+
port: 7860,
|
| 9 |
+
allowedHosts: ['sanch1tx-studyassist.hf.space'], // replace with your HF space hostname
|
| 10 |
},
|
| 11 |
})
|