From 0ea396e80c5fa8553bc8b7d0e302a64ad6668452 Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Thu, 5 May 2022 20:40:03 +0200 Subject: [PATCH] Replace deprecated document.domain by location.hostname --- front/src/store/instance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/store/instance.js b/front/src/store/instance.js index c7e610a6f..fe8c21b01 100644 --- a/front/src/store/instance.js +++ b/front/src/store/instance.js @@ -126,7 +126,7 @@ export default { return parser.hostname }, appDomain: (state) => { - return document.domain + return location.hostname } }, actions: {