[PR #2300] [MERGED] Add webBasePath update feature to CLI #5080

Closed
opened 2026-10-31 20:44:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/2300
Author: @MaisamV
Created: 5/24/2024
Status: ✅ Merged
Merged: 5/25/2024
Merged by: @MHSanaei

Base: main ← Head: main


📝 Commits (3)

  • 76ac6f4 Add webBasePath update feature to CLI
  • 2a937d5 Add certificate setting update to CLI
  • ee6b225 Revert "Add certificate setting update to CLI"

📊 Changes

2 files changed (+21 additions, -2 deletions)

View changed files

📝 main.go (+11 -2)
📝 web/service/setting.go (+10 -0)

📄 Description

The webBasePath argument is received in the code but the it is ignored and not updated using x-ui CLI. in this change webBasePath is updated in database after using "x-ui setting -webBasePath /a-path/" command

Also applied another commit to which enable to set panel certificate path from x-ui CLI using "x-ui cert -webCert /path/to.cert -webCertKey /path/to.key"

This will fixes #2301


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/2300 **Author:** [@MaisamV](https://github.com/MaisamV) **Created:** 5/24/2024 **Status:** ✅ Merged **Merged:** 5/25/2024 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`76ac6f4`](https://github.com/MHSanaei/3x-ui/commit/76ac6f41738e8860bc26f93468ce14695276208f) Add webBasePath update feature to CLI - [`2a937d5`](https://github.com/MHSanaei/3x-ui/commit/2a937d59d7c1f3edeb66782a4b235bafc89dfff6) Add certificate setting update to CLI - [`ee6b225`](https://github.com/MHSanaei/3x-ui/commit/ee6b2254f05ad2252886bdb01fb8a4754e23355e) Revert "Add certificate setting update to CLI" ### 📊 Changes **2 files changed** (+21 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `main.go` (+11 -2) 📝 `web/service/setting.go` (+10 -0) </details> ### 📄 Description The webBasePath argument is received in the code but the it is ignored and not updated using x-ui CLI. in this change webBasePath is updated in database after using "x-ui setting -webBasePath /a-path/" command Also applied another commit to which enable to set panel certificate path from x-ui CLI using "x-ui cert -webCert /path/to.cert -webCertKey /path/to.key" This will fixes #2301 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:44:35 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5080
No description provided.