mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-14 23:12:20 +02:00
Add peer expiration
This commit is contained in:
parent
2d67540e13
commit
2ecb92eef6
94 changed files with 43258 additions and 49 deletions
|
@ -59,7 +59,7 @@ app.UseHttpsRedirection();
|
|||
|
||||
// Ensure Database Exists
|
||||
var serviceScope = app.Services.CreateScope().ServiceProvider;
|
||||
serviceScope.GetService<DBContext>().Database.EnsureCreated();
|
||||
//serviceScope.GetService<DBContext>().Database.EnsureCreated();
|
||||
|
||||
if (!app.Environment.IsDevelopment())
|
||||
app.UseStaticFiles();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue