fix
parent
7a3154e8ff
commit
4b3dea0fc8
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue