mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-10-02 11:48:04 +03:00
set preflight max age
This commit is contained in:
@@ -63,6 +63,8 @@ public static class DllMain
|
|||||||
{
|
{
|
||||||
policy.AllowAnyMethod();
|
policy.AllowAnyMethod();
|
||||||
policy.AllowAnyOrigin();
|
policy.AllowAnyOrigin();
|
||||||
|
|
||||||
|
policy.SetPreflightMaxAge(TimeSpan.FromHours(6));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user