forked from nat/sludge
add .well-known route
This commit is contained in:
parent
9669e09448
commit
9e4c8ba3df
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user