mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
Fix bug
This commit is contained in:
parent
88fc994ea1
commit
e1e1c42a3e
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ export const hostname = address.hostname;
|
|||
export const url = address.origin;
|
||||
export const apiUrl = url + '/api';
|
||||
export const wsUrl = url.replace('http://', 'ws://').replace('https://', 'wss://') + '/streaming';
|
||||
export const lang = localStorage.getItem('lang');
|
||||
export const lang = localStorage.getItem('lang') || window.lang; // windowは後方互換性のため
|
||||
export const langs = _LANGS_;
|
||||
export const locale = JSON.parse(localStorage.getItem('locale'));
|
||||
export const copyright = _COPYRIGHT_;
|
||||
|
|
Loading…
Reference in a new issue