Fix Registry: Allow changing object variants

This commit is contained in:
Maurus Decimus
2026-04-29 14:05:16 +02:00
parent 450a76d56d
commit 295cd7b127
3 changed files with 47 additions and 6 deletions

View File

@@ -57,7 +57,15 @@ impl OpenIdHandler for Server {
async fn handle_oidc_metadata(&self, strip_base_url: bool) -> trc::Result<HttpResponse> {
let base_url = if strip_base_url {
""
#[cfg(feature = "dev_mode")]
{
"http://127.0.0.1:8080"
}
#[cfg(not(feature = "dev_mode"))]
{
""
}
} else {
&self.core.network.http.url_https
};