From 5c3bb4cd6a5f10b172aeacd6b5a39cfce1d6d2fa Mon Sep 17 00:00:00 2001 From: AOKI Takashi <55625375+RyushiAok@users.noreply.github.com> Date: Sun, 5 Nov 2023 13:37:42 +0900 Subject: [PATCH] revert --- server/src/Api/Program.fs | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/server/src/Api/Program.fs b/server/src/Api/Program.fs index 89dde72..7cf50b3 100644 --- a/server/src/Api/Program.fs +++ b/server/src/Api/Program.fs @@ -113,18 +113,16 @@ let main _ = options.AddPolicy( "CorsPolicy", fun policyBuilder -> - // policyBuilder.AllowAnyOrigin().AllowAnyHeader().AllowAnyMethod() + policyBuilder.AllowAnyOrigin().AllowAnyHeader().AllowAnyMethod() // - policyBuilder - .AllowAnyHeader() - .AllowAnyMethod() - .WithOrigins( - [| - env.client_url - "http://localhost:3000" - "https://duck-stream.doer-app.com/" - |] - ) + // https://duckstream-6am45n7bnq-an.a.run.app + // .WithOrigins( + // [| + // env.client_url + // "http://localhost:3000" + // "https://duck-stream.doer-app.com/" + // |] + // ) |> ignore ))