http://qwikoob2jgyfaqsgenwvma4h3z44gei7a6ou7zcwd4c2mhuerakrywqd.onion/BurnyLlama/ddstats/commit/40e8974d6b3d10331598b615995a2a7598c51e2f
; Ok ( pool ) } 45 src/main.rs Unescape Escape View File @ -1,26 +1,41 @@ #[ macro_use ] extern crate rocket ; use rocket :: serde :: json :: Json ; extern crate dotenv ; use dotenv :: dotenv ; mod types ; mod database ; #[ get( " / " ) ] fn index ( ) -> & 'static str { " Hello, world! " #[ get( " /maps " ) ] fn get_all_maps ( ) -> Option < Json < Vec < types :: Map > > > { match database :: get_maps ( ) { Ok ( maps ) = > Some ( Json ( maps ) ) , Err ( err ) = > { println!