withResourcePort
Method
interface LogtoResource { // ... omitted for brevity withResourcePort( port?: number, adminPort?: number): LogtoResource;}Signature
method
withResourcePort builderConfigures HTTP endpoints for the given Logto resource builder with specified port settings.
withResourcePort( port?: number, adminPort?: number): LogtoResourceParameters
portnumberoptionalThe host port to be configured for the primary endpoint. If `null`, Aspire will assign a random host port.adminPort numberoptionalThe host port to be configured for the administrative endpoint. If `null`, Aspire will assign a random host port.Returns
LogtoResource Applies to
This method applies to the following types: