Dev #11
@@ -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"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user