This commit is contained in:
JustArchi
2018-09-24 18:38:24 +02:00
parent 4d529cd8cb
commit aac8ee2aad

View File

@@ -46,7 +46,7 @@ namespace ArchiSteamFarm.IPC {
// Add workaround for missing PathBase feature, https://github.com/aspnet/Hosting/issues/1120
PathString pathBase = Configuration.GetSection("Kestrel").GetValue<PathString>("PathBase");
if (!string.IsNullOrEmpty(pathBase)) {
if (!string.IsNullOrEmpty(pathBase) && (pathBase != "/")) {
app.UsePathBase(pathBase);
}