update web and add rutor sets

This commit is contained in:
YouROK
2023-01-29 20:05:19 +03:00
parent ff1c05a6bf
commit 88208544fc
13 changed files with 29 additions and 15 deletions

View File

@@ -14,6 +14,7 @@ export default function SecondarySettingsComponent({ settings, inputForm }) {
EnableDLNA,
EnableIPv6,
FriendlyName,
EnableRutorSearch,
ForceEncrypt,
DisableTCP,
DisableUTP,
@@ -158,6 +159,12 @@ export default function SecondarySettingsComponent({ settings, inputForm }) {
labelPlacement='start'
/>
<br />
<FormControlLabel
control={<Switch checked={EnableRutorSearch} onChange={inputForm} id='EnableRutorSearch' color='secondary' />}
label={t('SettingsDialog.EnableRutorSearch')}
labelPlacement='start'
/>
<br />
<InputLabel htmlFor='RetrackersMode'>{t('SettingsDialog.RetrackersMode')}</InputLabel>
<Select
onChange={inputForm}

View File

@@ -15,6 +15,7 @@ export default {
EnableDebug: false,
EnableIPv6: false,
FriendlyName: '',
EnableRutorSearch: false,
ForceEncrypt: false,
PeersListenPort: 0,
PreloadCache: 50,