diff options
author | Juan J. Martinez <jjm@usebox.net> | 2024-09-28 08:11:35 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2024-09-28 08:11:35 +0100 |
commit | 155beb280823d9efad65dd20dedc8a145faebbcd (patch) | |
tree | f8071fbe71e5b4e932e9509713de1ce3484b61de /server/test | |
parent | cc0fbaec420c3e45f2bab1885c8c4d7e41c103eb (diff) | |
download | spacebeans-155beb280823d9efad65dd20dedc8a145faebbcd.tar.gz spacebeans-155beb280823d9efad65dd20dedc8a145faebbcd.zip |
Updatet Mill to 0.11.12
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/src/TestData.scala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/test/src/TestData.scala b/server/test/src/TestData.scala index 64ac43b..133c679 100644 --- a/server/test/src/TestData.scala +++ b/server/test/src/TestData.scala @@ -8,6 +8,8 @@ object TestData { val port = 1965 val portStr = port.toString() + var resPath = sys.env("MILL_TEST_RESOURCE_FOLDER") + val conf = ServiceConf( address = "127.0.0.1", port = port, @@ -16,7 +18,7 @@ object TestData { virtualHosts = List( VirtualHost( host = host, - root = getClass.getResource("/").getPath(), + root = resPath, keyStore = KeyStore( path = "/tmp/unused.jks", alias = "localhost", @@ -98,7 +100,7 @@ object TestData { .copy( userDirectories = true, userDirectoryPath = Some( - getClass.getResource("/").getPath() + "{user}/public_gemini/" + resPath + "/{user}/public_gemini/" ) ) ) |