feat: improve edit_subpath function with better error handling and efficient Caddy reload

- Add service status validation before editing subpath
- Use systemctl reload for Caddy config changes
- Add fallback to restart if reload fails
- Enhance user feedback with old/new subpath comparison
- Improve error handling and status verification
This commit is contained in:
Whispering Wind
2025-05-29 23:21:56 +03:30
committed by GitHub
parent ee90f8ec88
commit 1781ca446d
3 changed files with 27 additions and 9 deletions

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"githubPullRequests.ignoredPullRequestBranches": [
"main"
]
}