Address PR comments

This commit is contained in:
Matt Godbolt
2025-04-15 14:23:19 -05:00
parent 33d1388a49
commit 8fe86030f7
+1 -2
View File
@@ -43,8 +43,7 @@ import {StorageBase} from '../storage/index.js';
import {CompileHandler} from './compile.js';
function methodNotAllowed(req: express.Request, res: express.Response) {
res.send('Method Not Allowed');
res.status(405).end();
res.status(405).send('Method Not Allowed').end();
}
export class ApiHandler {