tools: add 0.0.0.0 server
This commit is contained in:
+7
-1
@@ -18,11 +18,17 @@ export default ({ mode }: { mode: string }) => {
|
|||||||
process.env.VITE_CUSTOM_HEAD = articlesConfig.custom_head;
|
process.env.VITE_CUSTOM_HEAD = articlesConfig.custom_head;
|
||||||
|
|
||||||
return defineConfig({
|
return defineConfig({
|
||||||
|
server: {
|
||||||
|
host: "0.0.0.0",
|
||||||
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
vueDevTools(),
|
vueDevTools(),
|
||||||
mdPlugin({ mode: [Mode.HTML] }),
|
mdPlugin({ mode: [Mode.HTML] }),
|
||||||
obfuscatorPlugin({ include: [/.*\.md/], options: { splitStrings: true, stringArrayThreshold: 1, } }),
|
obfuscatorPlugin({
|
||||||
|
include: [/.*\.md/],
|
||||||
|
options: { splitStrings: true, stringArrayThreshold: 1 },
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
|
|||||||
Reference in New Issue
Block a user