How can we save static content outside jar and server that same content to the client?
I realize that this is potentially loaded question, so I'd appreciate any guidance towards right material to read.
a
Aleksei Tirman [JB]
10/17/2022, 12:52 PM
So in other words do you want to serve static files from a local file system?
t
Tomislav Hofman
10/17/2022, 2:01 PM
Yes, I would like to serve static files from a local file system. Thank you for correcting me.
Tomislav Hofman
10/18/2022, 6:29 AM
Is there a way to do it within ktor? I'm running into issues due to app being packed as jar
a
Aleksei Tirman [JB]
10/18/2022, 8:24 AM
You can find the documentation about how to serve static files here. You can either copy embedded files to a local file system or don’t pack them in the first place.