feature: support show_links = "*"

This commit is contained in:
Max Vorobev
2026-02-13 00:42:06 +03:00
parent 889a5fa19b
commit fc47e4d584
2 changed files with 97 additions and 2 deletions

View File

@@ -223,7 +223,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
if !config.show_link.is_empty() {
info!("--- Proxy Links ({}) ---", public_ip);
for user_name in &config.show_link {
for user_name in config.show_link.resolve_users(&config.access.users) {
if let Some(secret) = config.access.users.get(user_name) {
info!("User: {}", user_name);
if config.general.modes.classic {