76c38030a83b0108eef16cd22bf585bf0a3cdc3b
- Fix etag attaching (add_etag is actually a coroutine which hashes the data payload) - Add expires header (with now + 1800s default) so that we don’t get hit with an avatar request on each load -- also helps with page responsiveness. - Proper handling for HEAD requests. - CSP to prevent funny SVG attacks.
Snikket Web Portal
Start the dev server
$ direnv allow
$ mkdir .local
$ cp web_config.example.py .local/web_config.py
$ $EDITOR .local/web_config.py # to adapt the configuration to your needs
$ pip install -r requirements.txt
$ pip install -r build-requirements.txt
$ make
$ quart run
Languages
Python
46.1%
HTML
34.7%
SCSS
13.3%
Jinja
2.9%
Shell
1%
Other
2%