mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
renamed android's index.html to android.html
This commit is contained in:
@@ -21,7 +21,7 @@ module.exports = function(app, devServer) {
|
||||
app.use(morgan('dev', { stream: process.stderr }));
|
||||
function android(req, res) {
|
||||
const index = devServer.middleware.fileSystem.readFileSync(
|
||||
devServer.middleware.getFilenameFromUrl('/index.html')
|
||||
devServer.middleware.getFilenameFromUrl('/android.html')
|
||||
);
|
||||
res.set('Content-Type', 'text/html');
|
||||
res.send(index);
|
||||
|
||||
Reference in New Issue
Block a user