fix: Use static assets from the public/ folder
This commit is contained in:
parent
ae2f654eeb
commit
289d5be4a3
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user