convert keys to hex and try middleware

This commit is contained in:
Matt Hill
2023-01-06 12:36:03 -07:00
parent 31531411d4
commit a66c1e0e85
2 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ module.exports = function (eleventyConfig) {
})
// cors
eleventyConfig.setBrowserSyncConfig({
eleventyConfig.setServerOptions({
middleware: function (req, res, next) {
res.setHeader('Access-Control-Allow-Origin', '*');
next();