Dev #11

Merged
serega404 merged 87 commits from dev into main 2026-05-25 03:22:55 +03:00
Showing only changes of commit 71e7d84e0f - Show all commits
+1
View File
@@ -9,6 +9,7 @@ var api = builder
builder builder
.AddExecutable("universe-frontend", "pnpm", workingDirectory: "../../frontend") .AddExecutable("universe-frontend", "pnpm", workingDirectory: "../../frontend")
.WithArgs("run", "dev:aspire") .WithArgs("run", "dev:aspire")
.WithHttpEndpoint(targetPort: 5173, port: 5173, name: "http", isProxied: false)
// Используется в vite.config.ts для server.proxy['/api'].target // Используется в vite.config.ts для server.proxy['/api'].target
.WithEnvironment("VITE_API_PROXY_TARGET", api.GetEndpoint("http")); .WithEnvironment("VITE_API_PROXY_TARGET", api.GetEndpoint("http"));