From 9533269b4e853b3cd05d26c74168e6c78786bb2f Mon Sep 17 00:00:00 2001 From: ppc Date: Sat, 10 Aug 2024 16:24:30 +0100 Subject: [PATCH] fix cors policy (allow all headers) --- AimeNet/DllMain.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/AimeNet/DllMain.cs b/AimeNet/DllMain.cs index b785f61..ade2ed3 100644 --- a/AimeNet/DllMain.cs +++ b/AimeNet/DllMain.cs @@ -63,6 +63,7 @@ public static class DllMain { policy.AllowAnyMethod(); policy.AllowAnyOrigin(); + policy.AllowAnyHeader(); policy.SetPreflightMaxAge(TimeSpan.FromHours(6)); });