mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 11:43:09 +02:00
Fix bug
This commit is contained in:
parent
411c006d9f
commit
93140daf79
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@ require('./common/tags');
|
|||
|
||||
console.info(`Misskey v${VERSION} (葵 aoi)`);
|
||||
|
||||
document.domain = CONFIG.host;
|
||||
if (CONFIG.host != 'localhost') {
|
||||
document.domain = CONFIG.host;
|
||||
}
|
||||
|
||||
{ // Set lang attr
|
||||
const html = document.documentElement;
|
||||
|
|
Loading…
Reference in a new issue