vite config on astro.config add all for yarn dev
parent
f405788bb0
commit
316aa09148
|
@ -12,6 +12,11 @@ export default defineConfig({
|
|||
tailwind()
|
||||
],
|
||||
vite: {
|
||||
server: {
|
||||
host: true, // Allow all hosts
|
||||
// OR specify the exact host:
|
||||
// host: 'chat-with-ai.s38.siliconpin.com',
|
||||
},
|
||||
plugins: [
|
||||
chunkSplitPlugin({
|
||||
strategy: 'default',
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
preview: {
|
||||
allowedHosts: ['chat-with-ai.s38.siliconpin.com']
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue