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

ribesg

09/03/2017, 12:18 AM
Can Ktor serve jar resources in addition to local filesystem files, or do I need to unzip my jar on startup?
o

orangy

09/03/2017, 9:38 AM
Hmm, nothing about resources there… Need to fix it.
Basically, same as files
Copy code
static {
                    staticBasePackage = "java.util"
                    resource("ArrayList.class")
                }
r

ribesg

09/03/2017, 12:49 PM
Thanks, it works 🙂 Both the source code and the website need some more documentation though
o

orangy

09/03/2017, 2:05 PM
You could help us and send PR to docs 🙂 https://github.com/ktorio/ktorio.github.io