Browse Source

fix: capacitor wrong webDir

Tienson Qin 5 months ago
parent
commit
b15f053d78
2 changed files with 2 additions and 2 deletions
  1. 1 1
      capacitor.config.ts
  2. 1 1
      gulpfile.js

+ 1 - 1
capacitor.config.ts

@@ -6,7 +6,7 @@ const version = fs.readFileSync('static/package.json', 'utf8').match(/"version":
 const config: CapacitorConfig = {
   appId: 'com.logseq.app',
   appName: 'Logseq',
-  webDir: 'public',
+  webDir: 'static/capacitor',
   loggingBehavior: 'debug',
   server: {
     androidScheme: 'http',

+ 1 - 1
gulpfile.js

@@ -157,7 +157,7 @@ const common = {
     const mode = process.env.PLATFORM || 'ios'
 
     const IP = ip.address()
-    const LOGSEQ_APP_SERVER_URL = `http://${IP}:3001`
+    const LOGSEQ_APP_SERVER_URL = `http://${IP}:3002`
 
     if (typeof global.fetch === 'function') {
       try {