From ca1e7e420863bba899f682fc4aa4f5268faf7074 Mon Sep 17 00:00:00 2001 From: Bronwen Date: Sun, 22 Nov 2020 18:03:30 -0500 Subject: [PATCH] res.header aint a thing --- api/palette.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/palette.js b/api/palette.js index ed8e0a0..cb7a7d5 100644 --- a/api/palette.js +++ b/api/palette.js @@ -8,7 +8,7 @@ var cheerio = require('cheerio'); //app.addHeader("Access-Control-Allow-Origin", "*"); module.exports = function (req, res) { - res.header('Access-Control-Allow-Origin', '*'); + // res.header('Access-Control-Allow-Origin', '*'); // // Because I couldn't find a good source for colorpalette ids on colorhunt,