Start on dockerization

Edited freezerDto a tad
This commit is contained in:
KaasKop-
2023-04-07 13:03:22 +02:00
parent aff9bbe7d2
commit 1433d59207
13 changed files with 415 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
using Microsoft.AspNetCore.Authentication;
using Microsoft.EntityFrameworkCore;
using ThuisApi.Data;
using ThuisApi.Models;
@@ -27,9 +28,9 @@ if (app.Environment.IsDevelopment())
app.UseSwaggerUI();
}
app.UseHttpsRedirection();
// app.UseHttpsRedirection();
app.UseAuthorization();
// app.UseAuthorization();
app.MapControllers();