summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/signout.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common/scripts/signout.ts')
-rw-r--r--src/web/app/common/scripts/signout.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/app/common/scripts/signout.ts b/src/web/app/common/scripts/signout.ts
index 6c95cfbc9c..2923196549 100644
--- a/src/web/app/common/scripts/signout.ts
+++ b/src/web/app/common/scripts/signout.ts
@@ -1,7 +1,7 @@
-import CONFIG from './config';
+declare const _HOST_: string;
export default () => {
localStorage.removeItem('me');
- document.cookie = `i=; domain=.${CONFIG.host}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
+ document.cookie = `i=; domain=.${_HOST_}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
location.href = '/';
};