You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
475 B
27 lines
475 B
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
server: {
|
|
open: true,
|
|
host: '0.0.0.0',
|
|
fs: {
|
|
strict: true,
|
|
},
|
|
proxy:
|
|
{
|
|
"/jsonrpc": {
|
|
secure: false,
|
|
headers: {
|
|
Referer: 'https://lamp.ruixininfo.com'
|
|
},
|
|
target: 'https://lamp.ruixininfo.com',
|
|
changeOrigin: true
|
|
},
|
|
}
|
|
|
|
},
|
|
plugins: [vue()],
|
|
})
|