parent
0c9f1f377d
commit
657c242dcd
@ -1,17 +0,0 @@
|
||||
#[macro_use]
|
||||
extern crate rocket;
|
||||
#[!feature(
|
||||
use melly_valentines::choose_saying::choose_saying;
|
||||
use std::lazy::OnceCell;
|
||||
|
||||
static sayings = OnceCell::new();
|
||||
|
||||
#[get("/")]
|
||||
fn a() -> String {
|
||||
return choose_saying(sayings.get().expect("Could not get sayings list."));
|
||||
}
|
||||
|
||||
#[launch]
|
||||
fn rocket() -> _ {
|
||||
rocket::build().mount("/", routes![a])
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,11 +0,0 @@
|
||||
sayings/squishy.txt
|
||||
sayings/love.txt
|
||||
sayings/programming.txt
|
||||
sayings/special-melly.txt
|
||||
sayings/generic.txt
|
||||
sayings/food.txt
|
||||
sayings/blind.txt
|
||||
sayings/sex.txt
|
||||
sayings/drugs.txt
|
||||
sayings/music.txt
|
||||
sayings/techies.txt
|
Loading…
Reference in new issue