Compare commits

..

No commits in common. "c5876941bbdf218b40510cc2fdb26c66dbe62ed4" and "f405788bb069491751821416e0548049f9c34820" have entirely different histories.

2 changed files with 7 additions and 9 deletions

View File

@ -12,15 +12,6 @@ export default defineConfig({
tailwind()
],
vite: {
server: {
host: true, // Allow all hosts
// OR specify the exact host:
// host: 'chat-with-ai.s38.siliconpin.com',
},
preview: {
allowedHosts: ['chat-with-ai.s38.siliconpin.com','chat-with-ai.siliconpin.com','chat.siliconpin.com'],
}
}
plugins: [
chunkSplitPlugin({
strategy: 'default',

7
vite.config.js Normal file
View File

@ -0,0 +1,7 @@
import { defineConfig } from 'vite';
export default defineConfig({
preview: {
allowedHosts: ['chat-with-ai.s38.siliconpin.com']
}
});