mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 21:39:28 -06:00
Address PR comments
This commit is contained in:
+1
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user