How can we save static content outside jar and ser...
# ktor
t
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
So in other words do you want to serve static files from a local file system?
t
Yes, I would like to serve static files from a local file system. Thank you for correcting me.
Is there a way to do it within ktor? I'm running into issues due to app being packed as jar
a
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.