mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-08-14 15:11:07 -04:00
style: enable scratch/es6 lint rules
This commit is contained in:
parent
2b5b8a371c
commit
c2fa2fedd5
9 changed files with 205 additions and 207 deletions
dev-server
|
@ -9,7 +9,7 @@ const Handler = function (route) {
|
|||
};
|
||||
}
|
||||
|
||||
var url = '/' + route.name + '.html';
|
||||
const url = `/${route.name}.html`;
|
||||
return function (req, res, next) {
|
||||
req.url = url;
|
||||
next();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue