diff --git a/packages/lib/BaseApplication.ts b/packages/lib/BaseApplication.ts index af06f376c..4490ca012 100644 --- a/packages/lib/BaseApplication.ts +++ b/packages/lib/BaseApplication.ts @@ -857,7 +857,7 @@ export default class BaseApplication { // Setting.setValue('sync.10.path', 'https://api.joplincloud.com'); // Setting.setValue('sync.10.userContentPath', 'https://joplinusercontent.com'); Setting.setValue('sync.10.path', 'http://api.joplincloud.local:22300'); - Setting.setValue('sync.10.userContentPath', 'http://joplincloud.local:22300'); + Setting.setValue('sync.10.userContentPath', 'http://joplinusercontent.local:22300'); } // For now always disable fuzzy search due to performance issues: diff --git a/packages/lib/services/joplinServer/personalizedUserContentBaseUrl.ts b/packages/lib/services/joplinServer/personalizedUserContentBaseUrl.ts index 931a1eac1..7f6e2ce49 100644 --- a/packages/lib/services/joplinServer/personalizedUserContentBaseUrl.ts +++ b/packages/lib/services/joplinServer/personalizedUserContentBaseUrl.ts @@ -9,7 +9,8 @@ // If the userContentBaseUrl is an empty string, the baseUrl is returned instead. export default function(userId: string, baseUrl: string, userContentBaseUrl: string) { // Special case for development, because it's difficult to get wildcard domains working locally. - if (userContentBaseUrl === 'http://joplincloud.local:22300') return 'http://joplincloud.local:22300'; + // if (userContentBaseUrl === 'http://joplincloud.local:22300') return 'http://joplincloud.local:22300'; + // if (userContentBaseUrl === 'http://joplincloud.local:22300') return 'http://abcd1234.joplinusercontent.local:22300'; if (userContentBaseUrl && baseUrl !== userContentBaseUrl) { if (!userId) throw new Error('User ID must be specified');