add mi.akua to the known hosts for CORS

This commit is contained in:
Cadey Ratio 2020-11-17 14:34:06 -05:00
parent b02a63dc2f
commit 9761a84728
1 changed files with 5 additions and 2 deletions

View File

@ -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 {