|
|
@ -18,6 +18,10 @@ object DatabaseSpec : ConfigSpec() { |
|
|
|
|
|
|
|
object ServerSpec : ConfigSpec() { |
|
|
|
val port by optional(9092) |
|
|
|
// this is needed to return full URLs when uploading via curl and for the AboutPage |
|
|
|
// For the AboutPage. |
|
|
|
// No protocol or trailing slash is added. |
|
|
|
val domain by required<String>() |
|
|
|
// This is needed to return full URLs when uploading via curl. |
|
|
|
// Will use the domain above if unspecified. |
|
|
|
val pasteurl by optional<String>("") |
|
|
|
} |