diff --git a/websockify/token_plugins.py b/websockify/token_plugins.py index 24c3943..a97c277 100644 --- a/websockify/token_plugins.py +++ b/websockify/token_plugins.py @@ -66,6 +66,9 @@ class TokenFile(ReadOnlyTokenFile): return super().lookup(token) class TokenFileName(BasePlugin): + # source is a directory + # token is filename + # contents of file is host:port def __init__(self, src): super().__init__(src) if not os.path.isdir(src):