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