1
0
forked from nat/sludge

add .well-known route

This commit is contained in:
gnat 2024-11-20 14:41:50 -08:00
parent 9669e09448
commit 9e4c8ba3df

View File

@ -90,7 +90,7 @@ routes = [
)][-1] )][-1]
), ),
Route( Route(
lambda path: os.path.isfile('.' + path.path) and (path.path.startswith('/font/') or path.path.startswith('/files/')), lambda path: os.path.isfile('.' + path.path) and (path.path.startswith('/font/') or path.path.startswith('/files/') or path.path.startswith('/.well-known/')),
[Method.GET], [Method.GET],
lambda request, *_: Response( lambda request, *_: Response(
ResponseCode.OK, ResponseCode.OK,