Quick-fix for sharing common data
This commit is contained in:
parent
7975a2072e
commit
2b5af660af
@ -82,6 +82,12 @@ fun Application.spcModule() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SnarkEnvironment.default.site {
|
SnarkEnvironment.default.site {
|
||||||
|
|
||||||
|
resolveData(
|
||||||
|
this@spcModule.javaClass.getResource("/common")!!.toURI(),
|
||||||
|
dataPath / "common"
|
||||||
|
)
|
||||||
|
|
||||||
val homeDataPath = resolveData(
|
val homeDataPath = resolveData(
|
||||||
this@spcModule.javaClass.getResource("/home")!!.toURI(),
|
this@spcModule.javaClass.getResource("/home")!!.toURI(),
|
||||||
dataPath / "home"
|
dataPath / "home"
|
||||||
|
Loading…
Reference in New Issue
Block a user