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;
|
||||
|
||||
return defineConfig({
|
||||
server: {
|
||||
host: "0.0.0.0",
|
||||
},
|
||||
plugins: [
|
||||
vue(),
|
||||
vueDevTools(),
|
||||
mdPlugin({ mode: [Mode.HTML] }),
|
||||
obfuscatorPlugin({ include: [/.*\.md/], options: { splitStrings: true, stringArrayThreshold: 1, } }),
|
||||
obfuscatorPlugin({
|
||||
include: [/.*\.md/],
|
||||
options: { splitStrings: true, stringArrayThreshold: 1 },
|
||||
}),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
|
||||
Reference in New Issue
Block a user