Revert "Reflect origin in CORS"

This reverts commit 5a574ec4645a29f5e77cfa59f8f2c28b7f7aacf7.
This commit is contained in:
Øystein Kjærnet 2019-11-01 10:02:51 +01:00 committed by Michael Jackson
parent a50a353b64
commit d16ea57fde

View File

@ -37,7 +37,7 @@ export default function createServer() {
app.use(morgan('dev'));
}
app.use(cors({ origin: true }));
app.use(cors());
app.use(express.static('public', { maxAge: '1y' }));
// Special startup request from App Engine