瀏覽代碼

chore(tauri.js) default config with all API enabled and distDir fixed (#307)

Lucas Fernandes Nogueira 5 年之前
父節點
當前提交
dc5947ea08
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      cli/tauri.js/src/template/defaultConfig.ts

+ 2 - 2
cli/tauri.js/src/template/defaultConfig.ts

@@ -1,6 +1,6 @@
 export default {
   build: {
-    distDir: 'dist',
+    distDir: '../dist',
     devPath: 'http://localhost:4000'
   },
   ctx: {},
@@ -12,7 +12,7 @@ export default {
       active: true
     },
     whitelist: {
-      all: false
+      all: true
     },
     window: {
       title: 'Tauri App'