Reflect origin in CORS

Fixes 
This commit is contained in:
Eric Rodrigues Pires 2019-10-30 16:24:16 -03:00 committed by Michael Jackson
parent fe833797e8
commit 5a574ec464

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