Skip to content

Instantly share code, notes, and snippets.

Created December 20, 2018 22:03
What would you like to do?
Basic static file server with actix-web
extern crate actix_web;
use actix_web::{fs, server, App};
fn main() {
server::new(|| {
.expect("Can not bind to port 8000")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment