summaryrefslogtreecommitdiff
path: root/src/client/app/config.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-29 20:32:18 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-29 20:32:18 +0900
commitcf33e483f7e6f40e8cbbbc0118a7df70bdaf651f (patch)
tree318279530d3392ee40d91968477fc0e78d5cf0f7 /src/client/app/config.ts
parentUpdate .travis.yml (diff)
downloadsharkey-cf33e483f7e6f40e8cbbbc0118a7df70bdaf651f.tar.gz
sharkey-cf33e483f7e6f40e8cbbbc0118a7df70bdaf651f.tar.bz2
sharkey-cf33e483f7e6f40e8cbbbc0118a7df70bdaf651f.zip
整理した
Diffstat (limited to 'src/client/app/config.ts')
-rw-r--r--src/client/app/config.ts37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/client/app/config.ts b/src/client/app/config.ts
new file mode 100644
index 0000000000..522d7ff056
--- /dev/null
+++ b/src/client/app/config.ts
@@ -0,0 +1,37 @@
+declare const _HOST_: string;
+declare const _HOSTNAME_: string;
+declare const _URL_: string;
+declare const _API_URL_: string;
+declare const _WS_URL_: string;
+declare const _DOCS_URL_: string;
+declare const _STATS_URL_: string;
+declare const _STATUS_URL_: string;
+declare const _DEV_URL_: string;
+declare const _LANG_: string;
+declare const _RECAPTCHA_SITEKEY_: string;
+declare const _SW_PUBLICKEY_: string;
+declare const _THEME_COLOR_: string;
+declare const _COPYRIGHT_: string;
+declare const _VERSION_: string;
+declare const _CODENAME_: string;
+declare const _LICENSE_: string;
+declare const _GOOGLE_MAPS_API_KEY_: string;
+
+export const host = _HOST_;
+export const hostname = _HOSTNAME_;
+export const url = _URL_;
+export const apiUrl = _API_URL_;
+export const wsUrl = _WS_URL_;
+export const docsUrl = _DOCS_URL_;
+export const statsUrl = _STATS_URL_;
+export const statusUrl = _STATUS_URL_;
+export const devUrl = _DEV_URL_;
+export const lang = _LANG_;
+export const recaptchaSitekey = _RECAPTCHA_SITEKEY_;
+export const swPublickey = _SW_PUBLICKEY_;
+export const themeColor = _THEME_COLOR_;
+export const copyright = _COPYRIGHT_;
+export const version = _VERSION_;
+export const codename = _CODENAME_;
+export const license = _LICENSE_;
+export const googleMapsApiKey = _GOOGLE_MAPS_API_KEY_;