Remove /notes endpoint

It's been unused since docs were moved to their own site.
This commit is contained in:
valadaptive 2023-12-14 18:20:39 -05:00
parent f93e40b1d3
commit b0827ca815
1 changed files with 0 additions and 3 deletions

View File

@ -293,9 +293,6 @@ app.use(multer({ dest: UPLOADS_PATH, limits: { fieldSize: 10 * 1024 * 1024 } }).
app.get('/', function (request, response) { app.get('/', function (request, response) {
response.sendFile(process.cwd() + '/public/index.html'); response.sendFile(process.cwd() + '/public/index.html');
}); });
app.get('/notes/*', function (request, response) {
response.sendFile(process.cwd() + '/public' + request.url + '.html');
});
app.get('/deviceinfo', function (request, response) { app.get('/deviceinfo', function (request, response) {
const userAgent = request.header('user-agent'); const userAgent = request.header('user-agent');
const deviceDetector = new DeviceDetector(); const deviceDetector = new DeviceDetector();