aboutsummaryrefslogtreecommitdiff
path: root/VPNAuth.Server/Program.cs
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-04-23 15:15:37 +0200
committerTim <contact@bytim.eu>2025-04-23 15:15:37 +0200
commit97e7960f494bd56daaa52b39a72d57c76331d485 (patch)
tree89ed6e41b0b029f95dc667097952c3701086a55f /VPNAuth.Server/Program.cs
parenta3fd9ff79a98259590b7004fd1bbe79be7ff8e83 (diff)
downloadVPNAuth-97e7960f494bd56daaa52b39a72d57c76331d485.tar.xz
VPNAuth-97e7960f494bd56daaa52b39a72d57c76331d485.zip
Add garbage collector and delete auth request on auth code exchange
Diffstat (limited to 'VPNAuth.Server/Program.cs')
-rw-r--r--VPNAuth.Server/Program.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/VPNAuth.Server/Program.cs b/VPNAuth.Server/Program.cs
index b52abd8..e8e5d4f 100644
--- a/VPNAuth.Server/Program.cs
+++ b/VPNAuth.Server/Program.cs
@@ -7,6 +7,7 @@ using VPNAuth.Server.Database;
using VPNAuth.Server.Responses;
Config.CreateIfNotExists();
+GarbageCollector.StartLoopAsync();
var builder = WebApplication.CreateBuilder(args);