mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 13:29:02 +08:00
build(electron): use live origin http protocol instead of file:// (#8464)
fix AF-1428
This commit is contained in:
@@ -30,5 +30,7 @@ const API_URL_MAPPING = {
|
||||
internal: `https://insider.affine.pro`,
|
||||
};
|
||||
|
||||
export const DEV_SERVER_URL = process.env.DEV_SERVER_URL;
|
||||
|
||||
export const CLOUD_BASE_URL =
|
||||
process.env.DEV_SERVER_URL || API_URL_MAPPING[buildType];
|
||||
|
||||
Reference in New Issue
Block a user