This commit is contained in:
949036910@qq.com
2026-05-27 23:06:44 +08:00
parent c7f1e98584
commit da566efca9
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ pub fn run() {
.parse() .parse()
.unwrap() .unwrap()
) )
} else { } else {/root/yaoyan/yaoyan_admin/images/newyaoyan
WebviewUrl::External( WebviewUrl::External(
"http://81.70.234.81/images/newyaoyan/index.html" "http://81.70.234.81/images/newyaoyan/index.html"
.parse() .parse()

View File

@@ -11,7 +11,7 @@ const monacoEditorPlugin =
const host = process.env.TAURI_DEV_HOST; const host = process.env.TAURI_DEV_HOST;
export default defineConfig({ export default defineConfig({
base: process.env.NODE_ENV === 'production' ? '/images/newyaoyan/index.html' : '/', base: process.env.NODE_ENV === 'production' ? '/images/newyaoyan/' : '/',
plugins: [monacoEditorPlugin({}), vue(), tailwindcss()], plugins: [monacoEditorPlugin({}), vue(), tailwindcss()],
build: { build: {
outDir: '/root/yaoyan/yaoyan_admin/images/newyaoyan', outDir: '/root/yaoyan/yaoyan_admin/images/newyaoyan',