mirror of
https://github.com/actix/examples
synced 2024-12-05 03:01:55 +01:00
508 B
508 B
Static Files
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-files
cargo run