~romuloalves/get-instagram-feed

d5476daeb06ef0123cf77dc24aefb05ccd6560d7 — Rômulo Alves 4 years ago af57170
Including access-control header to origin
1 files changed, 1 insertions(+), 0 deletions(-)

M src/index.js
M src/index.js => src/index.js +1 -0
@@ 28,6 28,7 @@ const server = micro(get(async function (req, res) {
    return send(res, 404, 'User is required.')
  }
  res.setHeader('Content-Type', 'application/json; charset=utf-8')
  res.setHeader('Access-Control-Allow-Origin', '*')

  let useCacheInRequest = useCache