Skip to content

Commit

Permalink
funding: add .well-known/funding-manifest-urls file and URL
Browse files Browse the repository at this point in the history
See https://floss.fund/funding-manifest/ and https://en.wikipedia.org/wiki/Well-known_URI

This link back to MeB.org funding.json can be accessed two ways:
1. In the github repo, for use with repositoryUrl.wellKnown using "https://github.com/metabrainz/bookbrainz-site/blob/main/.well-known/funding-manifest-urls"
2. for use with webpageUrl.wellKnown, should point to the new path "https://bookbrainz.org/.well-known/funding-manifest-urls"
  • Loading branch information
MonkeyDo committed Oct 28, 2024
1 parent a78d508 commit a0e0923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .well-known/funding-manifest-urls
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://metabrainz.org/funding.json
1 change: 1 addition & 0 deletions src/server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ else {
app.use(serveStatic(path.join(rootDir, 'static/js')));
}
app.use(express.static(path.join(rootDir, 'static')));
app.use('/.well-known', express.static(path.join(rootDir, '.well-known')));

app.use(session(process.env.NODE_ENV));

Expand Down

0 comments on commit a0e0923

Please sign in to comment.