+21
@@ -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',
|
||||
};
|
||||
Reference in New Issue
Block a user