Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
RyushiAok committed Nov 5, 2023
1 parent 9a49184 commit 5c3bb4c
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions server/src/Api/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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
))

Expand Down

0 comments on commit 5c3bb4c

Please sign in to comment.