Allow preview host mc.rc707blog.top and switch default backend base URL to https://mcbc.rc707blog.top to match domain-based runtime access. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
285 B
JavaScript
16 lines
285 B
JavaScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
server: {
|
|
port: 14621,
|
|
},
|
|
preview: {
|
|
host: "0.0.0.0",
|
|
port: 14621,
|
|
allowedHosts: ["mc.rc707blog.top"],
|
|
},
|
|
})
|