Skip to content

Commit cfe77f5

Browse files
committed
chore: better ASGI app class name
1 parent 775cb45 commit cfe77f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

asgi_webdav/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
_service_abnormal_exit_message = "ASGI WebDAV Server has stopped working!"
3131

3232

33-
class Server:
33+
class DAVApp:
3434
def __init__(self, config: Config):
3535
logger.info(f"ASGI WebDAV Server(v{__version__}) starting...")
3636
self.dav_auth = DAVAuth(config)
@@ -118,7 +118,7 @@ def get_asgi_app(aep: AppEntryParameters, config_obj: dict | None = None):
118118
logger.debug(config.to_json())
119119

120120
# create ASGI app
121-
app = Server(config)
121+
app = DAVApp(config)
122122

123123
# route /_/static
124124
app = ASGIMiddlewareStaticFile(

0 commit comments

Comments
 (0)