From 2fa68b6cb68446c8851b644d43603bfc81a2285e Mon Sep 17 00:00:00 2001 From: Alan Bridgeman Date: Tue, 10 Jun 2025 15:11:20 -0500 Subject: [PATCH] Fixed issues stemming from mismatch between code and new dependency version --- package.json | 2 +- src/server.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 840a405..870ce22 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ba-website", - "version": "1.0.20", + "version": "1.0.21", "description": "The Bridgeman Accessible main website", "main": "server.js", "scripts": { diff --git a/src/server.ts b/src/server.ts index b9f90b0..03b7ba7 100644 --- a/src/server.ts +++ b/src/server.ts @@ -10,7 +10,7 @@ const domain = process.env.DOMAIN || 'localhost'; * * @param app The Express app that gets created/started. */ -function onStart(app: Application) { +function onStart(app: App) { // Currently within the Server class implementation, // which is then implemented by the accounts dashboard, // only the RFC8414 path/callback is setup by default @@ -18,7 +18,7 @@ function onStart(app: Application) { // this should be easy enough to change but don't want to fiddle with it right now //const oidcLink = PointerServer.createOIDCLink('account.bridgemanaccessible.ca'); const rfc8414Link = PointerServer.createRFC8414Link('account.bridgemanaccessible.ca'); - PointerServer.setup(app, { links: [/*oidcLink, */rfc8414Link] }); + PointerServer.setup(app.getExpressApp(), { links: [/*oidcLink, */rfc8414Link] }); } async function main() {