A social pastebin built on atproto.
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

cache pigments css

+3 -1
+3 -1
main.py
··· 409 409 @app.route("/pygments.css") 410 410 def pygments_css() -> WerkzeugResponse: 411 411 css = HtmlFormatter(style="default").get_style_defs() 412 - return Response(css, mimetype="text/css") 412 + resp = Response(css, mimetype="text/css") 413 + resp.headers["Cache-Control"] = "public, max-age=86400" 414 + return resp 413 415 414 416 415 417 # =============================================================================