diff --git a/files/routes/static.py b/files/routes/static.py index 6dbdc234a..f3e92cce4 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -357,7 +357,7 @@ def emoji(emoji): @limiter.exempt def static_service(path): resp = make_response(send_from_directory('assets', path)) - if request.path.endswith('.webp') or request.path.endswith('.gif') or request.path.endswith('.ttf') or request.path.endswith('.woff') or request.path.endswith('.woff2'): + if request.path.endswith('.webp') or request.path.endswith('.gif') or request.path.endswith('.ttf') or request.path.endswith('.woff2'): resp.headers.remove("Cache-Control") resp.headers.add("Cache-Control", "public, max-age=3153600") diff --git a/files/templates/errors/400.html b/files/templates/errors/400.html index 78db38980..11a42205f 100644 --- a/files/templates/errors/400.html +++ b/files/templates/errors/400.html @@ -10,7 +10,7 @@
That request was bad and you should feel bad.
diff --git a/files/templates/errors/401.html b/files/templates/errors/401.html index 1fb1a376a..424df89d0 100644 --- a/files/templates/errors/401.html +++ b/files/templates/errors/401.html @@ -11,7 +11,7 @@YOU AREN'T WELCOME HERE GO AWAY
diff --git a/files/templates/errors/404.html b/files/templates/errors/404.html index 67cd0cfbf..1f5a303e3 100644 --- a/files/templates/errors/404.html +++ b/files/templates/errors/404.html @@ -10,7 +10,7 @@Someone typed something wrong and it was probably you, please do better.
diff --git a/files/templates/errors/405.html b/files/templates/errors/405.html index 3187b83cb..08d8b1803 100644 --- a/files/templates/errors/405.html +++ b/files/templates/errors/405.html @@ -10,7 +10,7 @@idk how anyone gets this error but if you see this, remember to follow @carpathianflorist
the original error text here talked about internet gremlins and wtf
go spam somewhere else nerd
diff --git a/files/templates/errors/500.html b/files/templates/errors/500.html index f3272faaf..1740a41ad 100644 --- a/files/templates/errors/500.html +++ b/files/templates/errors/500.html @@ -10,7 +10,7 @@Hiiiii it's carp! I think this error means that there's a timeout error. And I think that means something took too long to load so it decided not to work at all. If you keep seeing this on the same page but not other pages, then something is probably wrong with that specific function. It may not be called a function, but that sounds right to me. Anyway, ping me and I'll whine to someone smarter to fix it. Don't bother them. Thanks ily <3
diff --git a/files/templates/errors/nsfw.html b/files/templates/errors/nsfw.html index d78445bd7..6adc04f6b 100644 --- a/files/templates/errors/nsfw.html +++ b/files/templates/errors/nsfw.html @@ -10,7 +10,7 @@This post is rated +18 (Adult-Only). You must be 18 or older to continue. Are you sure you want to proceed?