Skip to content

Commit 6cbc2a9

Browse files
committed
chore: cleanup
1 parent d6ba1f4 commit 6cbc2a9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

packages/issuer-rest/lib/OID4VCIServer.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,15 @@ export class OID4VCIServer {
176176

177177
pushedAuthorizationEndpoint(this.router, this.issuer, this.authRequestsData)
178178

179-
// Create root router for alternative .well-known endpoints if needed
180-
const basePath = getBasePath(this.baseUrl)
181-
let rootRouter: express.Router | undefined
182-
if (basePath && basePath !== '/') {
183-
rootRouter = express.Router()
184-
this._app.use('/', rootRouter)
185-
}
179+
// Create root router for alternative .well-known endpoints if needed
180+
const basePath = getBasePath(this.baseUrl)
181+
let rootRouter: express.Router | undefined
182+
if (basePath && basePath !== '/') {
183+
rootRouter = express.Router()
184+
this._app.use('/', rootRouter)
185+
}
186186

187-
getMetadataEndpoints(this.router, this.issuer, rootRouter, basePath)
187+
getMetadataEndpoints(this.router, this.issuer, rootRouter, basePath)
188188

189189
let issuerPayloadPath: string | undefined
190190
if (this.isGetIssuePayloadEndpointEnabled(opts?.endpointOpts?.getIssuePayloadOpts)) {

0 commit comments

Comments
 (0)