diff --git a/lib/endpoints.js b/lib/endpoints.js index 734f17a..f618729 100644 --- a/lib/endpoints.js +++ b/lib/endpoints.js @@ -31,6 +31,10 @@ if(config.accessLog) { app.use('/app', express.static(path.join(__dirname, '../public/app'))); app.use('/assets', express.static(path.join(__dirname, '../public/assets'))); +// robots.txt +app.get('/robots.txt', (req, res) => { + res.sendFile(path.join(__dirname, '../public/robots.txt')); +}); // Upload App app.get('/', (req, res) => { diff --git a/public/html/download.html b/public/html/download.html index 08fe374..a6b8321 100644 --- a/public/html/download.html +++ b/public/html/download.html @@ -5,6 +5,7 @@ PsiTransfer +