mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 05:56:10 +05:00
add ssl options to web
This commit is contained in:
@@ -91,6 +91,7 @@ export default function AboutDialog() {
|
||||
<LinkComponent name='FaintGhost' link='https://github.com/FaintGhost' />
|
||||
<LinkComponent name='lieranderl' link='https://github.com/lieranderl' />
|
||||
<LinkComponent name='cocool97' link='https://github.com/cocool97' />
|
||||
<LinkComponent name='shadeov' link='https://github.com/shadeov' />
|
||||
</div>
|
||||
</Section>
|
||||
</div>
|
||||
|
||||
@@ -34,6 +34,9 @@ export default function SecondarySettingsComponent({ settings, inputForm }) {
|
||||
UploadRateLimit,
|
||||
ConnectionsLimit,
|
||||
PeersListenPort,
|
||||
SslPort,
|
||||
SslCert,
|
||||
SslKey,
|
||||
} = settings || {}
|
||||
|
||||
return (
|
||||
@@ -214,6 +217,42 @@ export default function SecondarySettingsComponent({ settings, inputForm }) {
|
||||
<option value={3}>{t('SettingsDialog.ReplaceRetrackers')}</option>
|
||||
</Select>
|
||||
<br />
|
||||
<TextField
|
||||
onChange={inputForm}
|
||||
margin='normal'
|
||||
id='SslPort'
|
||||
label={t('SettingsDialog.SslPort')}
|
||||
helperText={t('SettingsDialog.SslPortHint')}
|
||||
value={SslPort}
|
||||
type='number'
|
||||
variant='outlined'
|
||||
fullWidth
|
||||
/>
|
||||
<br />
|
||||
<TextField
|
||||
onChange={inputForm}
|
||||
margin='normal'
|
||||
id='SslCert'
|
||||
label={t('SettingsDialog.SslCert')}
|
||||
helperText={t('SettingsDialog.SslCertHint')}
|
||||
value={SslCert}
|
||||
type='url'
|
||||
variant='outlined'
|
||||
fullWidth
|
||||
/>
|
||||
<br />
|
||||
<TextField
|
||||
onChange={inputForm}
|
||||
margin='normal'
|
||||
id='SslKey'
|
||||
label={t('SettingsDialog.SslKey')}
|
||||
helperText={t('SettingsDialog.SslKeyHint')}
|
||||
value={SslKey}
|
||||
type='url'
|
||||
variant='outlined'
|
||||
fullWidth
|
||||
/>
|
||||
<br />
|
||||
</SecondarySettingsContent>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -23,4 +23,7 @@ export default {
|
||||
UploadRateLimit: 0,
|
||||
ConnectionsLimit: 25,
|
||||
PeersListenPort: 0,
|
||||
SslPort: 0,
|
||||
SslCert: '',
|
||||
SslKey: '',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user