mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #2433] [MERGED] fix wrong splithttp default #5098
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5098
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/2433
Author: @mmmray
Created: 7/9/2024
Status: ✅ Merged
Merged: 7/9/2024
Merged by: @MHSanaei
Base:
main← Head:splithttp-fix📝 Commits (1)
133f041fix wrong splithttp default📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
web/assets/js/model/xray.js(+2 -2)📄 Description
This default is defined as 1MB, but maxUploadSize is to be specified in bytes. This confusion could've come from poorly written documentation in xray, but it has been updated.
in general I wish that panels would not set defaults at all and instead just omit parameters (in sharelinks, inbounds, ...) that the user didn't set explicitly. If I want to change the defaults in xray's codebase, it seems that all the panels will have to update the default too.
I see marzban doing the same kind of things.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.