📁 Changed TDrive root folder (#16)

📁 Changed TDrive root folder
This commit is contained in:
Montassar Ghanmy
2023-04-11 10:04:29 +01:00
committed by GitHub
parent 3b3f67af07
commit e0615fa867
10548 changed files with 48 additions and 48 deletions
+21
View File
@@ -0,0 +1,21 @@
export default {
env_dev: false,
sentry_dsn: false,
front_root_url: (document.location.protocol || "http") + '//' + document.location.host,
api_root_url: (document.location.protocol || "http") + '//' + document.location.host,
websocket_url: (document.location.protocol || "http").replace("http", "ws") + '//' + document.location.host,
mobile_appstore: 'https://apps.apple.com/fr/app/tdrive/id1588764852?l=en',
mobile_googleplay: 'https://play.google.com/store/apps/details?id=com.tdrive.tdrive&gl=FR'
};
/*
export default {
env_dev: false,
front_root_url: 'https://web.tdrive.app',
api_root_url: 'https://api.tdrive.app',
websocket_url: 'wss://api.tdrive.app'
};
In this form:
"export default { env_dev: false, front_root_url: 'https://web.tdrive.app', api_root_url: 'https://web.tdrive.app', websocket_url: 'wss://web.tdrive.app' };"
*/
@@ -0,0 +1,8 @@
export default {
env_dev: true,
env_dev_auth: 'internal',
sentry_dsn: false,
front_root_url: (document.location.protocol || "http") + '//' + document.location.host,
api_root_url: (document.location.protocol || "http") + '//' + document.location.host,
websocket_url: (document.location.protocol || "http").replace("http", "ws") + '//' + document.location.host
};
@@ -0,0 +1,17 @@
export type EnvironmentType = {
env_dev: boolean;
env_dev_auth?: 'internal' | 'remote';
api_root_url: string;
front_root_url: string;
websocket_url: string;
sentry_dsn?: string | boolean;
usetiful_token?: string;
};
export type EnvironmentVersionType = {
version: string;
version_detail: string;
version_name: string;
};
@@ -0,0 +1,5 @@
export default {
version: /* @VERSION */ '2023.Q1',
version_detail: /* @VERSION_DETAIL */ '2023.Q1.1223',
version_name: /* @VERSION_NAME */ 'Albatros',
};