aboutsummaryrefslogtreecommitdiff
path: root/src/mayu.gleam
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-05-14 07:07:03 +0000
committerFuwn <[email protected]>2024-05-14 07:07:03 +0000
commitc343c9891771142c32d47724437db7b5db00d46b (patch)
tree06b3eaa7d284c1a57615ecaa435daafded0efbeb /src/mayu.gleam
parentci(github): gleam check workflow (diff)
downloadmayu-c343c9891771142c32d47724437db7b5db00d46b.tar.xz
mayu-c343c9891771142c32d47724437db7b5db00d46b.zip
feat(Docker): Docker supportv0.1.0
Diffstat (limited to 'src/mayu.gleam')
-rw-r--r--src/mayu.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mayu.gleam b/src/mayu.gleam
index 69e1474..95442e8 100644
--- a/src/mayu.gleam
+++ b/src/mayu.gleam
@@ -11,7 +11,7 @@ pub fn main() {
let _ = simplifile.create_directory("./data")
- use connection <- sqlight.with_connection("./data/mayu.sqlite3")
+ use connection <- sqlight.with_connection("./data/count.db")
database.setup(connection)
@@ -22,7 +22,7 @@ pub fn main() {
secret_key_base,
)
|> mist.new
- |> mist.port(8080)
+ |> mist.port(3000)
|> mist.start_http
process.sleep_forever()