diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-02-11 22:34:39 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-02-11 22:34:39 +0100 |
| commit | 2a5187cc1bfdd9527a581c090de2e540a1b2cddb (patch) | |
| tree | 3b67c44820c12a5cb80cf827053c1d6dae7d5090 /src/server | |
| parent | 55c8c8cfbcc6af276106dd146c2b2f3ba2cf2d9e (diff) | |
| download | bookmark-thing-2a5187cc1bfdd9527a581c090de2e540a1b2cddb.tar.xz bookmark-thing-2a5187cc1bfdd9527a581c090de2e540a1b2cddb.zip | |
feat: add prod url to cors config
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/Startup.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/Startup.cs b/src/server/Startup.cs index 8156444..effe0a7 100644 --- a/src/server/Startup.cs +++ b/src/server/Startup.cs @@ -130,7 +130,8 @@ public class Startup .AllowAnyMethod() .AllowAnyHeader() .WithOrigins("http://localhost:3000") - .AllowCredentials()); // allow credentials + .WithOrigins("https://bmt.ivarlovlie.no") + .AllowCredentials()); } app.UseRouting(); |
