#CSS and JS file not found

1 messages · Page 1 of 1 (latest)

solemn escarp
#
try this 
use actix_files::Files;

.service(Files::new("/assets", "/root/lz/assets").default_handler(web::to(not_found)).index_file("/") )
// full path /root/lz/assets
#

@willow viper let me know if this work