Hi there!
I have a question about the router in ktor.
Is it possible to match routes only for a certain host-name? What i am trying to achieve is something like
api.example.com and
admin.example.com and each of them should react differently, but all is running in the same codebase.
Is there a way to do this OR is this generally a bad approach? Is there some other strategy? Maybe running the server twice on different ports with different main module etc ...
Thanks in advance.