mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
feat(web): prepare the fluxer.com domain migration (#2952)
This commit is contained in:
1 parent
e62ae77643
commit
6730a242db
223 files changed
+13412
-2669
No files matched your search
@@ -54,7 +54,12 @@ const MIN_CHECK_INTERVAL_MS = 60 * 1000;
|
||||
const MANUAL_DOWNLOAD_REFRESH_TIMEOUT_MS = 5 * 1000;
|
||||
const VERSION_ENDPOINT = '/version.json';
|
||||
const CURRENT_BUILD_VERSION = Config.PUBLIC_BUILD_VERSION ?? null;
|
||||
const ALLOWED_WEB_UPDATE_HOSTS = new Set(['web.fluxer.app', 'web.canary.fluxer.app']);
|
||||
const ALLOWED_WEB_UPDATE_HOSTS = new Set([
|
||||
'web.fluxer.app',
|
||||
'web.canary.fluxer.app',
|
||||
'fluxer.com',
|
||||
'canary.fluxer.com',
|
||||
]);
|
||||
|
||||
function normalizeUpdaterContext(context: NativeUpdaterEvent['context']): UpdaterContext {
|
||||
switch (context) {
|
||||
|
||||
Reference in new issue
Block a user