Re-use constant

This commit is contained in:
Mark Ettema 2021-05-11 07:06:54 +07:00
parent 897b693263
commit a003e250fa
2 changed files with 2 additions and 3 deletions

View file

@ -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:

View file

@ -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)