mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
add cors
This commit is contained in:
parent
6a32432b01
commit
bbf9f41a04
5 changed files with 432 additions and 8 deletions
|
@ -136,6 +136,7 @@ pub fn load_routes(app: &mut tide::Server<Data>) {
|
|||
.post(|ctx| into_response(setting::update_displayed(ctx)))
|
||||
.delete(|ctx| into_response(setting::delete_displayed(ctx)));
|
||||
});
|
||||
|
||||
router.at("/index-new-fields")
|
||||
.get(|ctx| into_response(setting::get_index_new_fields(ctx)))
|
||||
.post(|ctx| into_response(setting::update_index_new_fields(ctx)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue