Browse Source

Try to align the config panel with the pydantic refactoring for bookworm

Lab-8916100448256 1 year ago
parent
commit
d6d54ae7a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config_panel.toml

+ 1 - 1
config_panel.toml

@@ -26,7 +26,7 @@ name = "Auto-configuration"
         [main.vpn.config_file]
         ask = "Configuration file"
         type = "file"
-        accept = ".cube, .ovpn, .conf"
+        accept = [".cube", ".ovpn", ".conf", "application/json", "text/plain"]
         help = ".cube file recommended, .ovpn file accepted"
         bind = "/etc/openvpn/client.conf"
         redact = true