diff --git a/backend/UniVerse.AppHost/AppHost.cs b/backend/UniVerse.AppHost/AppHost.cs index 36f7eb4..b6b7120 100644 --- a/backend/UniVerse.AppHost/AppHost.cs +++ b/backend/UniVerse.AppHost/AppHost.cs @@ -9,6 +9,7 @@ var api = builder builder .AddExecutable("universe-frontend", "pnpm", workingDirectory: "../../frontend") .WithArgs("run", "dev:aspire") + .WithHttpEndpoint(targetPort: 5173, port: 5173, name: "http", isProxied: false) // Используется в vite.config.ts для server.proxy['/api'].target .WithEnvironment("VITE_API_PROXY_TARGET", api.GetEndpoint("http"));