diff --git a/CHANGELOG.md b/CHANGELOG.md index e0beefd..0e0d727 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v1.2.0 - 2024-11-02 + +- The tmp directory now is within the data directory. + ## v1.1.1 - 2024-11-02 - Fixed a CSS bug. diff --git a/gleam.toml b/gleam.toml index 3912e1e..05cd9bb 100644 --- a/gleam.toml +++ b/gleam.toml @@ -1,5 +1,5 @@ name = "survey" -version = "1.1.1" +version = "1.2.0" licences = ["Apache-2.0"] # Fill out these fields if you intend to generate HTML documentation or publish diff --git a/src/survey/router.gleam b/src/survey/router.gleam index 0fc9395..ebfa64c 100644 --- a/src/survey/router.gleam +++ b/src/survey/router.gleam @@ -69,7 +69,7 @@ pub fn handle_form_submission(req: Request) -> Response { fn data_collection() { let config = - storail.Config(data_directory: "data", temporary_directory: "tmp") + storail.Config(data_directory: "data", temporary_directory: "data/tmp") storail.Collection( name: "submission", config:,