fix
parent
4b601233f1
commit
7a3154e8ff
|
@ -12,7 +12,7 @@ export default class Report extends Route {
|
|||
|
||||
public bind() {
|
||||
this.router.all('*', (_req, res, next) => {
|
||||
res.header('Access-Control-Allow-Origin', '*');
|
||||
res.setHeader('Access-Control-Allow-Origin', '*');
|
||||
next();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue