dropin

alternative frontend for dropout.tv
git clone https://git.ce9e.org/dropin.git

commit
249a26d6f8f29402845fd0c6ab9f3664f62f01cd
parent
55d3f70dac5eb5a92fbb6bedbb70cee03a37e18c
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-02-06 16:31
add trailing slashes

Diffstat

M dropout.py 4 +++-

1 files changed, 3 insertions, 1 deletions


diff --git a/dropout.py b/dropout.py

@@ -214,7 +214,9 @@ if __name__ == '__main__':
  214   214     parser.add_argument('--port', type=int, default=8000)
  215   215     args = parser.parse_args()
  216   216 
  217    -1     app = web.Application()
   -1   217     app = web.Application(middlewares=[
   -1   218         web.normalize_path_middleware(),
   -1   219     ])
  218   220     app.router.add_static('/static', BASE_DIR / 'static')
  219   221     app.router.add_get('/favicon.ico', favicon)
  220   222     app.router.add_get('/', home_view)