mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix: api url for electron (#4142)
This commit is contained in:
@@ -17,7 +17,7 @@ export const isDev = mode === 'development';
|
||||
|
||||
const API_URL_MAPPING = {
|
||||
stable: `https://app.affine.pro`,
|
||||
beta: `https://ambassador.affine.pro`,
|
||||
beta: `https://insider.affine.pro`,
|
||||
canary: `https://affine.fail`,
|
||||
internal: `https://affine.fail`,
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const ALLOW_ORIGIN = [
|
||||
'https://affine.pro',
|
||||
'https://app.affine.pro',
|
||||
'https://ambassador.affine.pro',
|
||||
'https://insider.affine.pro',
|
||||
'https://affine.fail',
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user