diff --git a/deploy/app.js b/deploy/app.js index f233a07c66eefbc560bac96d259524d450f4c7b6..8b815a3607c836f6810190d68ffb632916bc2ba5 100644 --- a/deploy/app.js +++ b/deploy/app.js @@ -57,6 +57,11 @@ const PUBLIC_PATH = process.env.NODE_ENV === 'production' ? path.join(__dirname, 'public') : path.join(__dirname, '..', 'dist', 'aot') +/** + * well known path + */ +app.use('/.well-known', express.static(path.join(__dirname, 'well-known'))) + app.use(express.static(PUBLIC_PATH)) app.use((req, res, next) => { diff --git a/deploy/well-known/robot.txt b/deploy/well-known/robot.txt new file mode 100644 index 0000000000000000000000000000000000000000..4f9540ba358a64607438da92eebe85889fdad50a --- /dev/null +++ b/deploy/well-known/robot.txt @@ -0,0 +1 @@ +User-agent: * \ No newline at end of file diff --git a/deploy/well-known/security.txt b/deploy/well-known/security.txt new file mode 100644 index 0000000000000000000000000000000000000000..42a2d3940dfcc87456b84a6165c9e741068c6b31 --- /dev/null +++ b/deploy/well-known/security.txt @@ -0,0 +1,2 @@ +# If you would like to report a security issue, please contact us via: +Contact: inm1-bda@fz-juelich.de \ No newline at end of file