From 357a59fde10c1b7dbce76ef89f573100f380434f Mon Sep 17 00:00:00 2001 From: Ruben Verborgh Date: Sun, 30 Sep 2018 14:08:18 +0200 Subject: [PATCH 1/2] Add mechanism for static .well-known files. --- lib/create-app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/create-app.js b/lib/create-app.js index a44b5833f..90bfcc832 100644 --- a/lib/create-app.js +++ b/lib/create-app.js @@ -56,6 +56,7 @@ function createApp (argv = {}) { app.use('/common', express.static(path.join(__dirname, '../common'))) routeResolvedFile(app, '/common/js/', 'mashlib/dist/mashlib.min.js') routeResolvedFile(app, '/common/js/', 'mashlib/dist/mashlib.min.js.map') + app.use('/.well-known', express.static(path.join(__dirname, '../common/well-known'))) // Add CORS proxy if (argv.proxy) { From 1f6d6903f992a2b736140cb6e9ef89870b4c5c83 Mon Sep 17 00:00:00 2001 From: Ruben Verborgh Date: Sun, 30 Sep 2018 14:08:25 +0200 Subject: [PATCH 2/2] Add security.txt. --- common/well-known/security.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 common/well-known/security.txt diff --git a/common/well-known/security.txt b/common/well-known/security.txt new file mode 100644 index 000000000..3b83d3bf9 --- /dev/null +++ b/common/well-known/security.txt @@ -0,0 +1,2 @@ +# Report security issues responsibly +Contact: admin+security@inrupt.com