add ruleset path support

This commit is contained in:
Kevin Pham
2023-12-07 09:23:12 -06:00
parent 4779229b32
commit 8166eb31af
5 changed files with 87 additions and 9 deletions

View File

@@ -167,7 +167,7 @@ func main() {
app.Get("styles.css", handlers.Styles)
app.Get("script.js", handlers.Script)
app.Get("ruleset", handlers.Ruleset)
app.Get("ruleset/*", handlers.NewRulesetSiteHandler(proxyOpts))
app.All("raw/*", handlers.NewRawProxySiteHandler(proxyOpts))