mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-12-02 01:55:03 +08:00
bump mini-dashboard
This commit is contained in:
parent
6bcf20c70e
commit
6af769af20
@ -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"
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user