mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-07-05 20:34:20 +00:00
60da6bed15
The panel seeded xhttp configs with scMaxEachPostBytes=1000000 and scMinPostsIntervalMs=30 — xray-core''s own defaults — and emitted them into every generated config and share link. The literal scMinPostsIntervalMs=30 is a stable DPI fingerprint that Russia''s TSPU keys on to block connections on mobile networks. New configs no longer seed these values (empty schema/template defaults, so xray-core applies its internal defaults). For configs already stored with the old defaults, the link/subscription builders now drop values equal to xray-core''s defaults instead of advertising them — covering panel share links, the raw subscription, and the JSON subscription without requiring every inbound to be re-saved. Non-default values the user set deliberately are still emitted.
11 lines
491 B
Plaintext
11 lines
491 B
Plaintext
# Shell scripts must stay LF so the Docker build works when the repo is
|
|
# checked out on Windows (CRLF breaks the script shebang -> exit 127).
|
|
*.sh text eol=lf
|
|
DockerInit.sh text eol=lf
|
|
DockerEntrypoint.sh text eol=lf
|
|
|
|
# Generated files (regenerated from Go) must stay LF so a Windows regen
|
|
# with core.autocrlf=true doesn't show phantom CRLF-only "modified" diffs.
|
|
frontend/src/generated/** text eol=lf
|
|
frontend/public/openapi.json text eol=lf
|
|
frontend\src\test\__snapshots__\** text eol=lf |