revert(electron): revert http protocl in electron (#8655)

fix AF-1583
This commit is contained in:
pengx17
2024-11-01 06:33:27 +00:00
parent 1973cea035
commit c915a3bcb5
6 changed files with 97 additions and 55 deletions
@@ -30,7 +30,5 @@ 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];