Arunscape / ECE421-GroupProject1

1 stars 1 forks source link

Use default rocket cors #8

Closed arostron closed 4 years ago

arostron commented 4 years ago

How would I test this? Docker?

using rocket_cors crate from https://docs.rs/rocket_cors/0.5.2/rocket_cors/

Cors settings:

{ "allowed_origins": "All", "allowed_methods": [ "POST", "PATCH", "PUT", "DELETE", "HEAD", "OPTIONS", "GET" ], "allowed_headers": "All", "allow_credentials": false, "expose_headers": [], "max_age": null, "send_wildcard": false, "fairing_route_base": "/cors", "fairing_route_rank": 0 }