https://kotlinlang.org logo
#ktor
Title
# ktor
j

John O'Reilly

10/20/2020, 11:41 AM
Is there way to dynamically enable/disable particular routes? Or for example does web server have to be restarted to allow this?
g

gildor

10/20/2020, 1:59 PM
Maybe register row and return 404 if it disabled?
j

John O'Reilly

10/20/2020, 2:14 PM
Yeah, thinking along those lines now
g

gildor

10/20/2020, 2:32 PM
You also can receive one single wildcat route and delegate to registered dynamic routes
j

John O'Reilly

10/20/2020, 2:37 PM
Thanks, will take a look at that
5 Views