diff options
| author | Дмитрий Олегович Саенко <saenkodmitriiol@gmail.com> | 2025-09-23 20:43:56 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-23 20:43:56 +0300 |
| commit | 02bff4db6c99bac0aefb5c4c65c986d8d5b802a9 (patch) | |
| tree | 09f7b5550bad4324fdaf63b34117766dba3e45ba /web/html/settings/panel | |
| parent | 8ff4e1ff316cc60d1fb408c074f6294393758f43 (diff) | |
max port to 65535 (#3536)
* add EXPOSE port in Dockerfile
* fix: max port 65 531 -> 65 535
* fix
---------
Co-authored-by: mhsanaei <ho3ein.sanaei@gmail.com>
Diffstat (limited to 'web/html/settings/panel')
| -rw-r--r-- | web/html/settings/panel/general.html | 5 | ||||
| -rw-r--r-- | web/html/settings/panel/subscription/general.html | 11 |
2 files changed, 7 insertions, 9 deletions
diff --git a/web/html/settings/panel/general.html b/web/html/settings/panel/general.html index df011521..64fd050c 100644 --- a/web/html/settings/panel/general.html +++ b/web/html/settings/panel/general.html @@ -39,7 +39,7 @@ <template #title>{{ i18n "pages.settings.panelPort"}}</template> <template #description>{{ i18n "pages.settings.panelPortDesc"}}</template> <template #control> - <a-input-number :min="1" :min="65531" v-model="allSetting.webPort" :style="{ width: '100%' }"></a-input> + <a-input-number :min="1" :min="65535" v-model="allSetting.webPort" :style="{ width: '100%' }"></a-input> </template> </a-setting-list-item> <a-setting-list-item paddings="small"> @@ -137,7 +137,8 @@ <template #title>{{ i18n "pages.settings.datepicker"}}</template> <template #description>{{ i18n "pages.settings.datepickerDescription"}}</template> <template #control> - <a-select :style="{ width: '100%' }" :dropdown-class-name="themeSwitcher.currentTheme" v-model="datepicker"> + <a-select :style="{ width: '100%' }" :dropdown-class-name="themeSwitcher.currentTheme" + v-model="datepicker"> <a-select-option v-for="item in datepickerList" :value="item.value"> <span v-text="item.name"></span> </a-select-option> diff --git a/web/html/settings/panel/subscription/general.html b/web/html/settings/panel/subscription/general.html index afa956fb..e65b2738 100644 --- a/web/html/settings/panel/subscription/general.html +++ b/web/html/settings/panel/subscription/general.html @@ -40,7 +40,7 @@ <template #title>{{ i18n "pages.settings.subPort"}}</template> <template #description>{{ i18n "pages.settings.subPortDesc"}}</template> <template #control> - <a-input-number v-model="allSetting.subPort" :min="1" :min="65531" + <a-input-number v-model="allSetting.subPort" :min="1" :min="65535" :style="{ width: '100%' }"></a-input-number> </template> </a-setting-list-item> @@ -48,13 +48,10 @@ <template #title>{{ i18n "pages.settings.subPath"}}</template> <template #description>{{ i18n "pages.settings.subPathDesc"}}</template> <template #control> - <a-input - type="text" - v-model="allSetting.subPath" + <a-input type="text" v-model="allSetting.subPath" @input="allSetting.subPath = ((typeof $event === 'string' ? $event : ($event && $event.target ? $event.target.value : '')) || '').replace(/[:*]/g, '')" @blur="allSetting.subPath = (p => { p = p || '/'; if (!p.startsWith('/')) p='/' + p; if (!p.endsWith('/')) p += '/'; return p.replace(/\/+/g,'/'); })(allSetting.subPath)" - placeholder="/sub/" - ></a-input> + placeholder="/sub/"></a-input> </template> </a-setting-list-item> <a-setting-list-item paddings="small"> @@ -108,4 +105,4 @@ </a-setting-list-item> </a-collapse-panel> </a-collapse> -{{end}} +{{end}}
\ No newline at end of file |
