Commit Graph

3 Commits

Author SHA1 Message Date
Vladimir Avtsenov 89b1137b00 feat(env): allow setting the initial URI path for the web panel (#5149)
* feat(env): allow setting the initial URI path for the web panel

* fix(setting): normalize and guard XUI_INIT_WEB_BASE_PATH default

Address Copilot review on PR #5149: an env value that is empty, whitespace, or lacks slashes (e.g. `panel`) could produce an invalid webBasePath such as `/ /` and reach the frontend un-normalized.

getEnv now trims whitespace and falls back when the value is empty; the env-derived default is passed through the existing normalizeBasePath helper (reused from node.go) so it always carries a leading and trailing slash. GetBasePath reuses the same helper instead of duplicating the slash logic.

---------

Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
2026-06-11 12:51:54 +02:00
Turan 0d7b6872f7 docs(i18n): refine Turkish translation and network terminology (#5092)
* Add files via upload

* Delete README.md

* Add files via upload

* Delete README_EN.md

* docs(i18n): refine Turkish translation and network terminology
2026-06-08 23:56:13 +02:00
Turan f6558571b4 docs(i18n): Add Turkish translation for README (#5067)
Hello! I noticed there was no Turkish README file despite having many other languages.

I have created README.tr_TR.md to help the Turkish community properly understand and deploy 3x-ui. The translation uses highly accurate networking terminology that matches the recent tr-TR.json improvements.

Thank you!
2026-06-08 09:54:13 +02:00