Quick-fix for sharing common data

This commit is contained in:
Alexander Nozik 2022-07-03 17:13:39 +03:00
parent 7975a2072e
commit 2b5af660af
No known key found for this signature in database
GPG Key ID: F7FCF2DD25C71357

View File

@ -82,6 +82,12 @@ fun Application.spcModule() {
}
SnarkEnvironment.default.site {
resolveData(
this@spcModule.javaClass.getResource("/common")!!.toURI(),
dataPath / "common"
)
val homeDataPath = resolveData(
this@spcModule.javaClass.getResource("/home")!!.toURI(),
dataPath / "home"