Unasync route handler

7fbff41329dbf2022c64b60a713d2d2e1dd20576

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
src/middleware/webpack-serve.js+1 -1
@@ -14,7 +14,7 @@ export default function getWebpackServeMiddleware() {
1414 * @param {import('express').NextFunction} next Next function.
1515 * @type {import('express').RequestHandler}
1616 */
1717 async function devMiddleware(req, res, next) {
1818 if (req.method === 'GET' && path.parse(req.path).base === outputFile) {
1919 return res.sendFile(outputFile, { root: outputPath });
2020 }