Commit 568a6ac
Eric Bower
·
2026-01-10 12:53:43 -0500 EST
parent 7f32c6d
chore(prose): add raw .lxt route
1 files changed,
+1,
-0
+1,
-0
| ... | ... | @@ -1059,6 +1059,7 @@ func createSubdomainRoutes(staticRoutes []shared.Route) []shared.Route { | |
| 1059 | 1059 | routes, | |
| 1060 | 1060 | shared.NewRoute("GET", "/raw/(.+)", postRawHandler), | |
| 1061 | 1061 | shared.NewRoute("GET", "/(.+).md", postRawHandler), | |
| 1062 | + | shared.NewRoute("GET", "/(.+).lxt", postRawHandler), | |
| 1062 | 1063 | shared.NewRoute("GET", `/(.+\.(?:jpg|jpeg|png|gif|webp|svg|ico))/(.+)`, imgRequest), | |
| 1063 | 1064 | shared.NewRoute("GET", `/(.+\.(?:jpg|jpeg|png|gif|webp|svg|ico))$`, imgRequest), | |
| 1064 | 1065 | shared.NewRoute("GET", "/(.+).html", postHandler), |