pull/29/head
Matthew 2020-10-19 19:50:49 -04:00
parent 7a3154e8ff
commit 4b3dea0fc8
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ export default class Report extends Route {
public bind() {
this.router.all('*', (_req, res, next) => {
res.setHeader('Access-Control-Allow-Origin', '*');
res.setHeader('Access-Control-Allow-Methods', '*');
res.setHeader('Access-Control-Allow-Headers', '*');
next();
});