Skip to content

Commit aaa4169

Browse files
Update content/1.posts/69.aspire-tailor-to-your-stack.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent bdd2122 commit aaa4169

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/1.posts/69.aspire-tailor-to-your-stack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ var webApp= builder.AddViteApp("WebApp", "../WebApp", "pnpm")
111111

112112
* `WaitFor` ensures the `WebApi` is running before starting the `WebApp`
113113

114-
The only downside of using `AddViteApp` is that it doesn't currently support exposing the HTTPS endpoint. So, even though the `WebApp` will be launched by the `AppHost` and will work correctly with HTTPS, its URL in the Aspire dashboard will be in HTTP. This isn't a major issue; you could just replace the `http` in the URL by `https`. But let’s fix that anyway to use another method `AddPnpmApp` (there are other methods like `AddNpmApp` for other package manager) of the Aspire Community toolkit instead:
114+
The only downside of using `AddViteApp` is that it doesn't currently support exposing the HTTPS endpoint. So, even though the `WebApp` will be launched by the `AppHost` and will work correctly with HTTPS, its URL in the Aspire dashboard will be in HTTP. This isn't a major issue; you could just replace the `http` in the URL by `https`. But let’s fix that anyway to use another method `AddPnpmApp` (there are other methods like `AddNpmApp` for other package managers) of the Aspire Community toolkit instead:
115115

116116
```csharp [AppHost/Program.cs]
117117
var webApp= builder.AddPnpmApp("WebApp", "../WebApp", "dev")

0 commit comments

Comments
 (0)