diff --git a/src/routes/apply.js b/src/routes/apply.js index 044f5c1..c2e6a98 100644 --- a/src/routes/apply.js +++ b/src/routes/apply.js @@ -5,9 +5,9 @@ import database from "../database/database.js" const router = express.Router() router.get("/authorized", async (req, res) => { + res.setHeader("Content-Type", "text/html") try { function answerToOpener(data) { - res.setHeader("Content-Type", "text/html") res.end(""); } const code = req.query.code