mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-11 15:45:00 +03:00
129f50d92a
* feat(settings): add subscription format controls
* feat(sub): auto-detect subscription formats
* fix(xray): validate balancer regexes before save
* Revert "fix(xray): validate balancer regexes before save"
This reverts commit 8a208ce71b.
* doc(endpoints): align indent spaces
* doc(settings): improve error message formatting in validateSubUserAgentRegex
- Use NewErrorf with proper formatting instead of NewError with string concatenation
- Add comment explaining the rationale for returning original pattern value
- This preserves the intentional design where empty input is stored as empty
in the DB and inherited as the runtime default at read time
---------
Co-authored-by: Tomilla <5007859+Tomilla@users.noreply.github.com>
Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
30 lines
448 B
CSS
30 lines
448 B
CSS
.subscription-format-sections {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.subscription-format-card-title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.subscription-format-card .ant-card-body {
|
|
padding: 0;
|
|
}
|
|
|
|
.format-settings {
|
|
margin-bottom: 8px;
|
|
border: 1px solid var(--ant-color-border-secondary);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.format-settings-list {
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.noise-card {
|
|
margin-bottom: 10px;
|
|
}
|