init: the first public commit for AFFiNE

This commit is contained in:
DarkSky
2022-07-22 15:49:21 +08:00
commit e3e3741393
1451 changed files with 108124 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
export const AFFINE_MAIN_SERVER = '/api/v1';
// export const AFFINE_MAIN_SERVER = 'http://localhost:3001/api/v1';
export const AUTHING_APP_ID_CN = '61961a7b8b90af37e7c422e0';
export const AUTHING_APP_ID_US = '626941ad32dea590043903d8';
export const AUTHING_APP_HOST_US = 'https://affine.us.authing.co';
export const USER_AUTH_LOCAL_KEY = '_authing_token';
export const LOGOUT_LOCAL_STORAGE = [USER_AUTH_LOCAL_KEY, '_authing_user'];
export const LOGOUT_COOKIES = ['authing_session'];