diff --git a/DysonNetwork.Sphere/.gitignore b/DysonNetwork.Sphere/.gitignore
index eccb44f..c86f0fe 100644
--- a/DysonNetwork.Sphere/.gitignore
+++ b/DysonNetwork.Sphere/.gitignore
@@ -7,3 +7,5 @@ bun.lock
package-lock.json
.DS_Store
+
+wwwroot/dist
diff --git a/DysonNetwork.Sphere/DysonNetwork.Sphere.csproj b/DysonNetwork.Sphere/DysonNetwork.Sphere.csproj
index 1fad6f0..5dd98c2 100644
--- a/DysonNetwork.Sphere/DysonNetwork.Sphere.csproj
+++ b/DysonNetwork.Sphere/DysonNetwork.Sphere.csproj
@@ -71,7 +71,6 @@
-
diff --git a/DysonNetwork.Sphere/Program.cs b/DysonNetwork.Sphere/Program.cs
index 532b65b..c221ed8 100644
--- a/DysonNetwork.Sphere/Program.cs
+++ b/DysonNetwork.Sphere/Program.cs
@@ -6,6 +6,7 @@ using DysonNetwork.Sphere;
using DysonNetwork.Sphere.PageData;
using DysonNetwork.Sphere.Startup;
using Microsoft.EntityFrameworkCore;
+using Microsoft.Extensions.FileProviders;
var builder = WebApplication.CreateBuilder(args);
@@ -51,4 +52,12 @@ app.ConfigureAppMiddleware(builder.Configuration);
app.MapGatewayProxy();
+app.UseDefaultFiles();
+app.UseStaticFiles(new StaticFileOptions
+{
+ FileProvider = new PhysicalFileProvider(Path.Combine(app.Environment.ContentRootPath, "wwwroot", "dist"))
+});
+
+app.MapPages(Path.Combine(app.Environment.WebRootPath, "dist", "index.html"));
+
app.Run();
\ No newline at end of file