fixes the hardcoded protocol class in the server

This commit is contained in:
waldek 2023-03-06 09:40:02 +11:00
parent 00349fabfe
commit 44cd4244b9
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class GeminiServer(Factory):
It builds the instance of the protocol class, which is what actually
implements the Gemini protocol.
"""
return GeminiProtocol(self, self.app)
return self.__class__.protocol_class(self, self.app)
def initialize(self) -> None:
"""