bump mini-dashboard

This commit is contained in:
Marin Postma 2021-04-21 14:40:22 +02:00
parent 6bcf20c70e
commit 6af769af20
No known key found for this signature in database
GPG Key ID: D5241F0C0C865F30
2 changed files with 2 additions and 4 deletions

View File

@ -108,5 +108,5 @@ default = ["sentry"]
jemallocator = "0.3.2" jemallocator = "0.3.2"
[package.metadata.mini-dashboard] [package.metadata.mini-dashboard]
assets-url = "https://github.com/meilisearch/mini-dashboard/releases/download/v0.1.0/build.zip" assets-url = "https://github.com/meilisearch/mini-dashboard/releases/download/v0.1.1/build.zip"
sha1 = "abb7bd8765b9fab38675958bc9d06088589c712c" sha1 = "f4247f8f534214e2811637e0555347c3f6bf5794"

View File

@ -53,7 +53,6 @@ macro_rules! create_app {
let app = if $enable_frontend { let app = if $enable_frontend {
let generated = dashboard::generate(); let generated = dashboard::generate();
let keys = generated.keys().collect::<Vec<_>>(); let keys = generated.keys().collect::<Vec<_>>();
println!("served files {:?}", keys);
let service = ResourceFiles::new("/", generated); let service = ResourceFiles::new("/", generated);
app.service(service) app.service(service)
} else { } else {
@ -63,7 +62,6 @@ macro_rules! create_app {
#[cfg(not(feature = "mini-dashboard"))] #[cfg(not(feature = "mini-dashboard"))]
let app = app.service(running); let app = app.service(running);
println!("here\n\n\n");
app.wrap( app.wrap(
Cors::default() Cors::default()
.send_wildcard() .send_wildcard()