mirror of
https://github.com/bitwarden/server.git
synced 2025-04-07 14:08:13 -05:00
revert https stuff
This commit is contained in:
parent
459f3a5791
commit
205a6d14a6
@ -162,9 +162,9 @@ namespace Bit.Api
|
|||||||
// Add IdentityServer to the request pipeline.
|
// Add IdentityServer to the request pipeline.
|
||||||
app.UseIdentityServer();
|
app.UseIdentityServer();
|
||||||
app.UseIdentityServerAuthentication(
|
app.UseIdentityServerAuthentication(
|
||||||
GetIdentityOptions(env, IdentityServerAuthority(env, "identity", "44392"), "3"));
|
GetIdentityOptions(env, IdentityServerAuthority(env, "identity", "33656"), "3"));
|
||||||
app.UseIdentityServerAuthentication(
|
app.UseIdentityServerAuthentication(
|
||||||
GetIdentityOptions(env, IdentityServerAuthority(env, "api", "44377"), "2"));
|
GetIdentityOptions(env, IdentityServerAuthority(env, "api", "4001"), "2"));
|
||||||
|
|
||||||
// Add current context
|
// Add current context
|
||||||
app.UseMiddleware<CurrentContextMiddleware>();
|
app.UseMiddleware<CurrentContextMiddleware>();
|
||||||
@ -204,7 +204,7 @@ namespace Bit.Api
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return $"https://localhost:{port}";
|
return $"http://localhost:{port}";
|
||||||
//return $"http://192.168.1.6:{port}"; // Desktop external
|
//return $"http://192.168.1.6:{port}"; // Desktop external
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user