Skip to content

Commit

Permalink
#438 - Allow X-New-Token to be read by CORS requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Nov 25, 2022
1 parent bd303a4 commit da0413a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Money.Api/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
p.AllowCredentials();
p.AllowAnyHeader();
p.SetPreflightMaxAge(TimeSpan.FromMinutes(10));
p.WithExposedHeaders(VersionHeader.Name);
p.WithExposedHeaders(VersionHeader.Name, RenewalTokenHeader.Name);
});

app.UseAuthentication();
Expand Down

0 comments on commit da0413a

Please sign in to comment.