policies macros

This commit is contained in:
marin postma 2021-06-23 19:35:26 +02:00
parent 12f6709e1c
commit 5b71751391
No known key found for this signature in database
GPG key ID: 6088B7721C3E39F9
4 changed files with 64 additions and 7 deletions

View file

@ -35,6 +35,10 @@ pub fn configure_data(config: &mut web::ServiceConfig, data: Data) {
);
}
pub fn configure_auth(config: &mut web::ServiceConfig, opt: &Options) {
todo!()
}
#[cfg(feature = "mini-dashboard")]
pub fn dashboard(config: &mut web::ServiceConfig, enable_frontend: bool) {
use actix_web_static_files::Resource;