Skip to content

Commit

Permalink
Move tmp inside data
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Nov 2, 2024
1 parent 6c48f38 commit 71e2b31
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/survey/router.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -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:,
Expand Down

0 comments on commit 71e2b31

Please sign in to comment.