Cors
This commit is contained in:
+2
-2
@@ -86,10 +86,10 @@ app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
|
||||
app.UseMiddleware<GameAuthApi.Middleware.TokenBlacklistMiddleware>();
|
||||
|
||||
app.UseCors("AllowAll");
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
app.UseCors();
|
||||
|
||||
app.MapControllers();
|
||||
|
||||
app.Run();
|
||||
Reference in New Issue
Block a user