Browse Source

Make `waiting_judge' POST.

master
Tian Yunhao 7 years ago
parent
commit
cf6d547dd2
  1. 2
      modules/api.js

2
modules/api.js

@ -164,7 +164,7 @@ app.post('/api/markdown', async (req, res) => {
});
// APIs for judge client
app.get('/api/waiting_judge', async (req, res) => {
app.post('/api/waiting_judge', async (req, res) => {
try {
if (req.query.session_id !== syzoj.config.judge_token) return res.status(404).send({ err: 'Permission denied' });

Loading…
Cancel
Save