/static_web

a simple static http server

Primary LanguageRustMIT LicenseMIT

A simple HTTP static file server written in Rust with may_minihttp, and refer to basic-http-server

Use

  • set listen port and root_dir
  • cargo run

Port is 8080 and the root_dir is "./" by default, ip is 0.0.0.0 in code fixedly.
And you must cargo run in root directory after installing Rust toolchain

License

MIT