refactor: use another origin
This commit is contained in:
@ -76,9 +76,7 @@ public class Program
|
||||
policy.AllowAnyMethod();
|
||||
policy.AllowAnyHeader();
|
||||
policy.AllowCredentials();
|
||||
#if DEBUG
|
||||
policy.WithOrigins("http://localhost:4200");
|
||||
#endif
|
||||
policy.SetIsOriginAllowed(_ => true);
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user