mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
disable cors middleware in webpack-dev-server that breaks everything
This commit is contained in:
parent
c9a8e15bd8
commit
6c48940f91
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ if ( DEV_SERVER )
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
|
|
||||||
return middlewares;
|
return middlewares.filter(middleware => middleware.name !== 'cross-origin-header-check');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue