pablisco
09/12/2023, 10:04 AM/api
be served by the ktor app. I’m struggling to find a way to do this.
I’ve thought of two options:
• Copy the generated code, from Compose KMP, into the ktor module build folder and add it to the sourceset of the configuration. However, I’m not sure what Gradle task I should use to wire this up (I don’t have much experience with ktor)
• Alternative, I was thinking if it would be possible to launch both servers (the one generated by ktor and the one by compose) and use a supervisor server/container to route to one or the other.
Does any one have a good source regarding how to do something like this? 🙏Andreas Scheja
09/12/2023, 5:40 PMpablisco
09/14/2023, 1:23 PM