From 289d5be4a31939337db008f1eed6f2e4b3b5fd4b Mon Sep 17 00:00:00 2001 From: Araozu Date: Sat, 26 Oct 2024 23:05:24 -0500 Subject: [PATCH] fix: Use static assets from the public/ folder --- src/main.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 5f3170c..d11369c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,5 @@ #[macro_use] extern crate rocket; -use core::time; use std::{ path::Path, time::{SystemTime, UNIX_EPOCH}, @@ -138,8 +137,6 @@ fn skeleton(children: Markup) -> Markup { #[launch] fn rocket() -> _ { - std::thread::sleep(time::Duration::from_secs(30)); - let static_files_path = Path::new("./public"); rocket::build()