Skip to content

Commit 04dba29

Browse files
committed
add allowedhosts
1 parent 83876c1 commit 04dba29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vite.config.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import { defineConfig } from "vite";
55
console.log(`Building DeepGit with BASE_PATH="${process.env.BASE_PATH || "/deepgit"}"`);
66

77
export default defineConfig({
8+
preview: {
9+
allowedHosts: ['deepgit-1.onrender.com'],
10+
},
811
base: process.env.BASE_PATH || "/deepgit",
912
plugins: [react()],
1013
server: {

0 commit comments

Comments
 (0)