aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2025-06-04 18:21:59 -0600
committerMelody Horn <melody@boringcactus.com>2025-06-04 18:21:59 -0600
commit17ec51b1f0d5025a59bf11977aa57b7461cd4495 (patch)
treedcc9b63c94f9cbc797cc643603e10cfb017238bc
parent2b32ab159c0eb9bb617154d977c155f8ca9162d9 (diff)
downloadffxiv-uptime-canon.tar.gz
ffxiv-uptime-canon.zip
-rw-r--r--Cargo.toml2
-rw-r--r--Dockerfile4
-rw-r--r--fly.toml38
-rw-r--r--railway.toml4
4 files changed, 7 insertions, 41 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 7eabd99..b1f7b78 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,5 +12,5 @@ num-integer = "0.1.45"
serde = "1.0"
serde_json = "1.0"
sycamore = "0.8"
-wasm-bindgen = "0.2.83"
+wasm-bindgen = "0.2.100"
web-sys = { version = "0.3", features = ["Event", "HtmlInputElement", "Storage", "Window"] }
diff --git a/Dockerfile b/Dockerfile
index d358729..413fe42 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
-FROM rust:1.66 AS build
+FROM rust:1.87 AS build
-RUN cargo install --locked trunk
+RUN cargo install --locked trunk@0.21.14
RUN rustup target add wasm32-unknown-unknown
WORKDIR /usr/src/ffxiv-uptime
diff --git a/fly.toml b/fly.toml
deleted file mode 100644
index 08c2f90..0000000
--- a/fly.toml
+++ /dev/null
@@ -1,38 +0,0 @@
-# fly.toml file generated for ffxiv-uptime on 2022-12-18T19:48:10-07:00
-
-app = "ffxiv-uptime"
-kill_signal = "SIGINT"
-kill_timeout = 5
-processes = []
-
-[env]
-
-[experimental]
-allowed_public_ports = []
-auto_rollback = true
-
-[[services]]
-http_checks = []
-internal_port = 80
-processes = ["app"]
-protocol = "tcp"
-script_checks = []
-[services.concurrency]
-hard_limit = 25
-soft_limit = 20
-type = "connections"
-
-[[services.ports]]
-force_https = true
-handlers = ["http"]
-port = 80
-
-[[services.ports]]
-handlers = ["tls", "http"]
-port = 443
-
-[[services.tcp_checks]]
-grace_period = "1s"
-interval = "15s"
-restart_limit = 0
-timeout = "2s"
diff --git a/railway.toml b/railway.toml
new file mode 100644
index 0000000..4606db9
--- /dev/null
+++ b/railway.toml
@@ -0,0 +1,4 @@
+[build]
+builder = "dockerfile"
+
+[deploy]