fix: manually sleep thread to debug docker container

This commit is contained in:
Araozu 2024-10-26 22:57:50 -05:00
parent 95d0cf6e73
commit 78f8c5bead

View File

@ -1,5 +1,6 @@
#[macro_use]
extern crate rocket;
use core::time;
use std::time::{SystemTime, UNIX_EPOCH};
use maud::{html, Markup, DOCTYPE};
@ -134,6 +135,8 @@ fn skeleton(children: Markup) -> Markup {
#[launch]
fn rocket() -> _ {
std::thread::sleep(time::Duration::from_secs(360));
rocket::build()
.mount("/", routes![index])
.mount("/public", FileServer::from(relative!("public")))