From ae071a30ecaa62ff431878c71a54059e3d3ce8b7 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 15 Aug 2023 09:21:54 -0400 Subject: [PATCH] fix: need to change dnslink route registration to use a path param based route --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 73069bb..4ad6839 100644 --- a/main.go +++ b/main.go @@ -117,7 +117,7 @@ func main() { // And the wildcard one for index.html, *.js, *.css and e.t.c. app.Get("/swagger/{any:path}", swaggerUI) - app.Party("*").Any("*", dnslink.Handler) + app.Any("/{p:path}", dnslink.Handler) // Start the Iris app and listen for incoming requests on port 80 err := app.Listen(":8080", func(app *iris.Application) {