diff --git a/src/api/comm.libraryofcode.org/routes/report.ts b/src/api/comm.libraryofcode.org/routes/report.ts index 102fd44..ce3b35a 100644 --- a/src/api/comm.libraryofcode.org/routes/report.ts +++ b/src/api/comm.libraryofcode.org/routes/report.ts @@ -355,7 +355,7 @@ export default class Report extends Route { this.router.get('/web', async (req, res) => { try { - res.setHeader('Access-Control-Allow-Origin', 'report.libraryofcode.org'); + res.setHeader('Access-Control-Allow-Origin', '*'); if (this.timeout.has(req.ip)) return res.status(401).json({ code: this.constants.codes.UNAUTHORIZED, message: this.constants.messages.UNAUTHORIZED }); if (!req.query.pin) return res.status(401).json({ code: this.constants.codes.UNAUTHORIZED, message: this.constants.messages.UNAUTHORIZED }); const args = req.query.pin.toString();