Attempting to fix issue with WebFinger implementation where route mistakenly gives 404
This commit is contained in:
parent
a439ec483a
commit
51f20e87ba
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ba-website",
|
"name": "ba-website",
|
||||||
"version": "1.0.26",
|
"version": "1.0.27",
|
||||||
"description": "The Bridgeman Accessible main website",
|
"description": "The Bridgeman Accessible main website",
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ function onStart(app: App) {
|
||||||
//const oidcLink = PointerServer.createOIDCLink('account.bridgemanaccessible.ca');
|
//const oidcLink = PointerServer.createOIDCLink('account.bridgemanaccessible.ca');
|
||||||
const rfc8414Link = PointerServer.createRFC8414Link('account.bridgemanaccessible.ca');
|
const rfc8414Link = PointerServer.createRFC8414Link('account.bridgemanaccessible.ca');
|
||||||
PointerServer.setup(app.getExpressApp(), { links: [/*oidcLink, */rfc8414Link] });
|
PointerServer.setup(app.getExpressApp(), { links: [/*oidcLink, */rfc8414Link] });
|
||||||
|
app.getInitializer().getRouter().addOutsideFrameworkRoute('/.well-known/webfinger');
|
||||||
}
|
}
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue