mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
grammar
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
This commit is contained in:
parent
c2e92111c1
commit
ae4e1814c1
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ export async function serverAddress() {
|
||||||
// Use servers specified in config.json
|
// Use servers specified in config.json
|
||||||
const urls = await webSettings.getServers();
|
const urls = await webSettings.getServers();
|
||||||
|
|
||||||
// Otherwise, use computed base-url
|
// Otherwise use computed base URL
|
||||||
if (urls.length == 0) {
|
if (urls.length == 0) {
|
||||||
const index = window.location.href.toLowerCase().lastIndexOf('/web');
|
const index = window.location.href.toLowerCase().lastIndexOf('/web');
|
||||||
if (index != -1) {
|
if (index != -1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue