mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-09 18:06:22 +00:00
Re-use constant
This commit is contained in:
parent
897b693263
commit
a003e250fa
2 changed files with 2 additions and 3 deletions
|
@ -10,7 +10,7 @@ services:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
|
|
||||||
steamidp:
|
steamidp:
|
||||||
image: neothor/steam-openid-connect-provider
|
image: neothor/steam-openid-connect-provider:develop
|
||||||
build: ./src
|
build: ./src
|
||||||
container_name: steamidp
|
container_name: steamidp
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Net.Http;
|
|
||||||
using IdentityServer4.Extensions;
|
using IdentityServer4.Extensions;
|
||||||
using Microsoft.AspNetCore.Builder;
|
using Microsoft.AspNetCore.Builder;
|
||||||
using Microsoft.AspNetCore.Hosting;
|
using Microsoft.AspNetCore.Hosting;
|
||||||
|
@ -72,7 +71,7 @@ namespace SteamOpenIdConnectProvider
|
||||||
});
|
});
|
||||||
|
|
||||||
services.AddHealthChecks()
|
services.AddHealthChecks()
|
||||||
.AddUrlGroup(new Uri("https://steamcommunity.com/openid"), "Steam");
|
.AddUrlGroup(new Uri(Constants.OpenIdUrl), "Steam");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||||
|
|
Loading…
Reference in a new issue