We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04f5916 commit 9c7e326Copy full SHA for 9c7e326
src/index.js
@@ -7,7 +7,6 @@ const { pushView } = require('./utils')
7
module.exports = async function (req, res) {
8
const { pathname, query } = url.parse(req.url, /* parseQueryString */ true)
9
res.setHeader('Access-Control-Allow-Origin', '*')
10
- res.setHeader("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept")
11
// Send all views down if "?all" is true
12
if (String(query.all) === 'true') {
13
const data = {
0 commit comments