forked from SPC/spc-site
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 {
|
||||
|
||||
resolveData(
|
||||
this@spcModule.javaClass.getResource("/common")!!.toURI(),
|
||||
dataPath / "common"
|
||||
)
|
||||
|
||||
val homeDataPath = resolveData(
|
||||
this@spcModule.javaClass.getResource("/home")!!.toURI(),
|
||||
dataPath / "home"
|
||||
|
Loading…
Reference in New Issue
Block a user