Skip to content

Commit

Permalink
Fixes for app testing with localtest in podman
Browse files Browse the repository at this point in the history
  • Loading branch information
SandGrainOne committed Mar 13, 2024
1 parent 189d19d commit a68c6ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public void Configure(
IWebHostEnvironment env,
IOptions<LocalPlatformSettings> localPlatformSettings)
{
if (env.IsDevelopment() || env.IsEnvironment("docker"))
if (env.IsDevelopment() || env.IsEnvironment("docker") || env.IsEnvironment("podman"))
{
app.UseDeveloperExceptionPage();

Expand Down
3 changes: 3 additions & 0 deletions src/appsettings.Podman.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"AuthnGeneralSettings": {
"PlatformEndpoint": "http://local.altinn.cloud:5101/"
},
"LocalPlatformSettings": {
"LocalAppMode": "http",
"LocalFrontendHostname": "host.docker.internal",
Expand Down

0 comments on commit a68c6ea

Please sign in to comment.