Code1 now only submits within the correct time window
This commit is contained in:
+5
-1
@@ -10,6 +10,8 @@ crate-type = ["cdylib", "rlib"]
|
||||
leptos = { version = "0.8.0" }
|
||||
leptos_router = { version = "0.8.0" }
|
||||
axum = { version = "0.8.0", optional = true }
|
||||
chrono = { version = "0.4", default-features = false, features = ["clock"], optional = true }
|
||||
chrono-tz = { version = "0.10", optional = true }
|
||||
console_error_panic_hook = { version = "0.1", optional = true }
|
||||
dotenvy = { version = "0.15", optional = true }
|
||||
leptos_axum = { version = "0.8.0", optional = true }
|
||||
@@ -28,6 +30,8 @@ hydrate = [
|
||||
]
|
||||
ssr = [
|
||||
"dep:axum",
|
||||
"dep:chrono",
|
||||
"dep:chrono-tz",
|
||||
"dep:dotenvy",
|
||||
"dep:tokio",
|
||||
"dep:leptos_axum",
|
||||
@@ -66,7 +70,7 @@ style-file = "style/main.scss"
|
||||
assets-dir = "public"
|
||||
|
||||
# The IP and port (ex: 127.0.0.1:3000) where the server serves the content. Use it in your server setup.
|
||||
site-addr = "127.0.0.1:3000"
|
||||
site-addr = "0.0.0.0:3000"
|
||||
|
||||
# The port to use for automatic reload monitoring
|
||||
reload-port = 3001
|
||||
|
||||
Reference in New Issue
Block a user