add mi.akua to the known hosts for CORS
This commit is contained in:
parent
b02a63dc2f
commit
9761a84728
|
@ -24,8 +24,11 @@ fn main() -> Result<()> {
|
||||||
|
|
||||||
info!("{} starting up", APPLICATION_NAME);
|
info!("{} starting up", APPLICATION_NAME);
|
||||||
|
|
||||||
let allowed_origins =
|
let allowed_origins = AllowedOrigins::some_exact(&[
|
||||||
AllowedOrigins::some_exact(&["https://mi.within.website", "http://localhost:8000"]);
|
"https://mi.within.website",
|
||||||
|
"http://localhost:8000",
|
||||||
|
"http://mi.akua",
|
||||||
|
]);
|
||||||
|
|
||||||
// You can also deserialize this
|
// You can also deserialize this
|
||||||
let cors = rocket_cors::CorsOptions {
|
let cors = rocket_cors::CorsOptions {
|
||||||
|
|
Loading…
Reference in New Issue