mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
fix: capacitor wrong webDir
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user