fix: need to change dnslink route registration to use a path param based route

This commit is contained in:
Derrick Hammer 2023-08-15 09:21:54 -04:00
parent 37cdbfbc0d
commit ae071a30ec
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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) {