Преглед на файлове

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 {
 export default {
   build: {
   build: {
-    distDir: 'dist',
+    distDir: '../dist',
     devPath: 'http://localhost:4000'
     devPath: 'http://localhost:4000'
   },
   },
   ctx: {},
   ctx: {},
@@ -12,7 +12,7 @@ export default {
       active: true
       active: true
     },
     },
     whitelist: {
     whitelist: {
-      all: false
+      all: true
     },
     },
     window: {
     window: {
       title: 'Tauri App'
       title: 'Tauri App'