diff --git a/.eleventy.js b/.eleventy.js index 5f62faf..abae12d 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -9,7 +9,7 @@ module.exports = function (eleventyConfig) { eleventyConfig.addPassthroughCopy('./src/assets/videos/'); eleventyConfig.addPassthroughCopy('public') - //plugins + // plugins eleventyConfig.addPlugin(faviconPlugin, { outputDir: './public' }); eleventyConfig.addPlugin(slinkity.plugin, slinkity.defineConfig({})) eleventyConfig.addPlugin(pluginSEO, require("./src/_data/seo.json")); @@ -17,11 +17,19 @@ module.exports = function (eleventyConfig) { baseUrl: 'src/_includes/svgs/', }); - //filters + // filters eleventyConfig.addFilter('date', function (date, dateFormat) { return format(date, dateFormat) }) + // cors + eleventyConfig.setBrowserSyncConfig({ + middleware: function (req, res, next) { + res.setHeader('Access-Control-Allow-Origin', '*'); + next(); + } + }); + return { dir: { input: "src", output: "_site", data: "_data" }, }; diff --git a/public/.well-known/nostr.json b/public/.well-known/nostr.json index 08936d0..495806d 100644 --- a/public/.well-known/nostr.json +++ b/public/.well-known/nostr.json @@ -3,6 +3,7 @@ "_": "npub126ntw5mnermmj0znhjhgdk8lh2af72sm8qfzq48umdlnhaj9kuns3le9ll", "MattHill": "npub1j87rgjtftxaux3xd5nhthwavm3907ywnu8x0z0uywqntsv57vajshl3hzx", "GrassFedBitcoin": "npub1wnlu28xrq9gv77dkevck6ws4euej4v568rlvn66gf2c428tdrptqq3n3wr", - "cguida": "npub19z2uxvxz8uurr9kqa7vgmek6swurk3vra40ec8kmpf2eemx3lyqq6zfkd4" + "cguida": "npub19z2uxvxz8uurr9kqa7vgmek6swurk3vra40ec8kmpf2eemx3lyqq6zfkd4", + "k0gen": "npub1s9cyrzaj9rwt7kever592np0aehyjxhl6am5ak3lhdwshny9mnyqmkp75j" } } \ No newline at end of file