Table of Contents
API reference

Property BaseUrl

Namespace
DisCatSharp.Hosting.AspNetCore
Assembly
DisCatSharp.Hosting.AspNetCore.dll

BaseUrl

Gets or sets the externally visible base URL advertised by the self-hosted ingress surface. When not set, the runtime falls back to the bound listen address.

public Uri? BaseUrl { get; set; }

Property Value

Uri

Remarks

Set this when the self-hosted app runs behind a reverse proxy or tunnel that exposes a different public origin.