request logging
This commit is contained in:
parent
61d7680af8
commit
1254018305
@ -23,10 +23,11 @@ fn main() -> Result<(), MainError> {
|
||||
http_path_set(http_path);
|
||||
|
||||
let file = OpenOptions::new().read(true).open(filename)?;
|
||||
// let image = unsafe { MmapOptions::new().len(493921239040usize).map(&file)? };
|
||||
let image = unsafe { MmapOptions::new().map(&file)? };
|
||||
|
||||
rouille::start_server(sockaddr, move |request| {
|
||||
println!("Request: {}", request.url());
|
||||
|
||||
router!(
|
||||
request,
|
||||
(GET) ["/"] =>
|
||||
|
Loading…
Reference in New Issue
Block a user