move CORS allowance to the REST API router
authorWilliam Lahti <wilahti@gmail.com>
Fri, 29 Jun 2018 03:23:26 +0000 (20:23 -0700)
committerChocobozzz <me@florianbigard.com>
Fri, 29 Jun 2018 07:46:44 +0000 (09:46 +0200)
commit12daa83784ea112e33d3b8b590a805dae9a29c1c
tree1b2939ea315f9447edff140f221b396d3334cb20
parentb229e38d50c43221b8fa21cf7c778212f2742e93
move CORS allowance to the REST API router
server.ts
server/controllers/api/index.ts