Commit Graph

16 Commits

Author SHA1 Message Date
Arya Kiran 4b6defbf9c add instance privacy information page (closes #56) 2023-03-07 19:56:44 +05:30
Arya Kiran 1a3909683d make ratelimiter only used for api-based routes 2023-03-07 19:07:16 +05:30
Odyssey 2107edf65c rename File stuff
Signed-off-by: Odyssey <hi@odyssey346.dev>
2023-02-13 18:40:55 +01:00
ManeraKai 3557938305 Enabled directory fetching 2023-02-13 13:59:55 +03:00
Odyssey 02f9d38274 Fix headers
Signed-off-by: Odyssey <hi@odyssey346.dev>
2023-02-08 17:55:18 +01:00
Odyssey 561faa59cf Massive security improvement: Add security headers (fixes #51)
Signed-off-by: Odyssey <hi@odyssey346.dev>
2023-02-08 17:37:42 +01:00
Odyssey a41e5ac009 Add caching headers to static files, and fix explicit width and height (closes #52)
Signed-off-by: Odyssey <hi@odyssey346.dev>
2023-02-08 17:32:22 +01:00
Odyssey ad0c084876 Use chroma v2 import
Signed-off-by: Odyssey <hi@odyssey346.dev>
2023-02-07 16:47:01 +01:00
Odyssey 652ccd0952 cleanup serve/serve.go a bit
Signed-off-by: Odyssey <hi@odyssey346.dev>
2023-02-07 15:35:44 +01:00
Odyssey 41c503f00c Make proxied requests a utility function
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-06 21:13:53 +01:00
Odyssey a4a4e15673 Make version a utility function
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-05 20:46:49 +01:00
Odyssey 30014eadb0 Add version API
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-05 20:35:31 +01:00
Shiny Nematoda 3ce44d4c3c Code formatting 2022-12-24 19:10:31 +00:00
Shiny Nematoda f772a4c2ae Added syntax highlight 2022-12-24 19:08:07 +00:00
Odyssey f927aec773 Add version information
Signed-off-by: Odyssey <odyssey346@disroot.org>
2022-12-03 17:28:36 +01:00
Odyssey 41a7fa5689 Initial cmd.
Signed-off-by: Odyssey <odyssey346@disroot.org>
2022-12-03 13:40:03 +01:00