🐛 fix cra issue (#913)

This commit is contained in:
Kuitos 2020-09-07 13:29:44 +08:00 committed by GitHub
parent 7ec8fd87e6
commit f9c6126528

View File

@ -11,9 +11,8 @@ module.exports = {
}, },
devServer: _ => { devServer: _ => {
const config = {}; const config = _;
config.port = '7100';
config.headers = { config.headers = {
'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Origin': '*',
}; };