mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
8186a8cfea
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru> Co-authored-by: Altug Sahin <altugsahin@gmail.com> Co-authored-by: Rob Ede <robjtede@icloud.com>
517 B
517 B
static_index
Demonstrates how to serve static files. Inside the ./static
folder you will find 2 subfolders:
root
: A tree of files that will be served at the web root/
. This includes thecss
andjs
folders, each containing an example file.images
: A list of images that will be served at/images
path, with file listing enabled.
Usage
$ cd basics/static_index
$ cargo run