diff --git a/.idea/.idea.FoodsharingSiegen/.idea/deployment.xml b/.idea/.idea.FoodsharingSiegen/.idea/deployment.xml
new file mode 100644
index 0000000..7e29e62
--- /dev/null
+++ b/.idea/.idea.FoodsharingSiegen/.idea/deployment.xml
@@ -0,0 +1,184 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.FoodsharingSiegen/.idea/misc.xml b/.idea/.idea.FoodsharingSiegen/.idea/misc.xml
new file mode 100644
index 0000000..283b9b4
--- /dev/null
+++ b/.idea/.idea.FoodsharingSiegen/.idea/misc.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.FoodsharingSiegen/.idea/webServers.xml b/.idea/.idea.FoodsharingSiegen/.idea/webServers.xml
new file mode 100644
index 0000000..7042615
--- /dev/null
+++ b/.idea/.idea.FoodsharingSiegen/.idea/webServers.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/FoodsharingSiegen.Server/Data/FsContext.cs b/FoodsharingSiegen.Server/Data/FsContext.cs
index a90e1df..998fdc2 100644
--- a/FoodsharingSiegen.Server/Data/FsContext.cs
+++ b/FoodsharingSiegen.Server/Data/FsContext.cs
@@ -3,5 +3,9 @@
public partial class FsContext
{
+ partial void OnCreated()
+ {
+ Database.EnsureCreated();
+ }
}
}
diff --git a/FoodsharingSiegen.Server/Program.cs b/FoodsharingSiegen.Server/Program.cs
index 8e2b135..16d134f 100644
--- a/FoodsharingSiegen.Server/Program.cs
+++ b/FoodsharingSiegen.Server/Program.cs
@@ -9,6 +9,7 @@ using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.EntityFrameworkCore;
var builder = WebApplication.CreateBuilder(args);
+builder.WebHost.UseUrls("http://+:8700");
// Add services to the container.
builder.Services.AddRazorPages();
diff --git a/FoodsharingSiegen.Server/Properties/launchSettings.json b/FoodsharingSiegen.Server/Properties/launchSettings.json
index 5cdba60..275b836 100644
--- a/FoodsharingSiegen.Server/Properties/launchSettings.json
+++ b/FoodsharingSiegen.Server/Properties/launchSettings.json
@@ -12,7 +12,6 @@
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
- "applicationUrl": "https://localhost:7233;http://localhost:5233",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}