インスタンス名がブラウザタイトルに反映されないのを修正 (#2668)

* titleが反映されないのを修正

* deckでtitleが反映されるように修正
This commit is contained in:
MeiMei
2018-09-08 21:44:28 +09:00
committed by syuilo
parent 67f60ab307
commit 5a13c38a6d
6 changed files with 10 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ import { EventEmitter } from 'eventemitter3';
import * as uuid from 'uuid';
import initStore from './store';
import { apiUrl, version, lang } from './config';
import { apiUrl, version, lang, name } from './config';
import Progress from './common/scripts/loading';
import Connection from './common/scripts/streaming/stream';
import { HomeStreamManager } from './common/scripts/streaming/home';
@@ -72,7 +72,7 @@ export default class MiOS extends EventEmitter {
};
public get instanceName() {
return this.meta ? this.meta.data.name : 'Misskey';
return this.meta ? this.meta.data.name : name;
}
private isMetaFetching = false;