Reflect origin in CORS

Fixes #226
This commit is contained in:
Eric Rodrigues Pires 2019-10-30 16:24:16 -03:00 committed by Michael Jackson
parent fe833797e8
commit 5a574ec464
1 changed files with 1 additions and 1 deletions

View File

@ -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