diff --git a/data/static/setup.js b/data/static/setup.js index b018425..4f20b11 100644 --- a/data/static/setup.js +++ b/data/static/setup.js @@ -186,6 +186,10 @@ document.getElementById('submitButton').onclick = function() { }; // Page 3: Connect to jellyfin config['jellyfin']['server'] = document.getElementById('jfHost').value; + let publicAddress = document.getElementById('jfPublicHost').value; + if (publicAddress != "") { + config['jellyfin']['public_server'] = publicAddress; + } config['jellyfin']['username'] = document.getElementById('jfUser').value; config['jellyfin']['password'] = document.getElementById('jfPassword').value; // Page 4: Email (Page 5, 6, 7 are only used if this is enabled) diff --git a/data/templates/setup.html b/data/templates/setup.html index 57d2cd7..6117b8f 100644 --- a/data/templates/setup.html +++ b/data/templates/setup.html @@ -43,7 +43,7 @@
- You'll need to do a few things to start using jellyfin-accounts. Click below to get started, or quit and edit the config file manually. + You'll need to do a few things to start using jfa-go. Click below to get started, or quit and edit the config file manually.
Get StartedTo access the admin page, you'll need to login. Choose how below.
- jellyfin-accounts needs admin access so that it can create users. + jfa-go needs admin access so that it can create users, as this is currently not permitted via API tokens. You should create a separate account for it, checking 'Allow this user to manage the server'. You can disable everything else. Once done, enter the credentials here.