fix: capacitor wrong webDir

This commit is contained in:
Tienson Qin
2025-05-24 01:31:14 +08:00
parent 508775d7b9
commit b15f053d78
2 changed files with 2 additions and 2 deletions

View File

@@ -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',

View File

@@ -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 {