mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 11:59:51 +08: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 = {
|
const API_URL_MAPPING = {
|
||||||
stable: `https://app.affine.pro`,
|
stable: `https://app.affine.pro`,
|
||||||
beta: `https://ambassador.affine.pro`,
|
beta: `https://insider.affine.pro`,
|
||||||
canary: `https://affine.fail`,
|
canary: `https://affine.fail`,
|
||||||
internal: `https://affine.fail`,
|
internal: `https://affine.fail`,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const ALLOW_ORIGIN = [
|
const ALLOW_ORIGIN = [
|
||||||
'https://affine.pro',
|
'https://affine.pro',
|
||||||
'https://app.affine.pro',
|
'https://app.affine.pro',
|
||||||
'https://ambassador.affine.pro',
|
'https://insider.affine.pro',
|
||||||
'https://affine.fail',
|
'https://affine.fail',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user