INNER CODE UNIT · Rust
test_config
TheWaWaR/simple-http-server · src/config.rs:649
fn test_config(ip: IpAddr) -> Config {
Config {
root: PathBuf::from("."),
index: false,
upload: None,
redirect_to: None,
sort: true,
cache: true,
range: true,
cert: None,
certpass: None,
cors: false,
coop: false,
coep: false,
ip,
port: 8000,
upload_size_limit: 8 * 1024 * 1024,
auth: None,