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);
|
||||
|
||||
let allowed_origins =
|
||||
AllowedOrigins::some_exact(&["https://mi.within.website", "http://localhost:8000"]);
|
||||
let allowed_origins = AllowedOrigins::some_exact(&[
|
||||
"https://mi.within.website",
|
||||
"http://localhost:8000",
|
||||
"http://mi.akua",
|
||||
]);
|
||||
|
||||
// You can also deserialize this
|
||||
let cors = rocket_cors::CorsOptions {
|
||||
|
|
Loading…
Reference in New Issue