diff --git a/next.config.js b/next.config.js index 665a94e07..4243c1104 100644 --- a/next.config.js +++ b/next.config.js @@ -21,7 +21,7 @@ const ContentSecurityPolicy = ` process.env.NODE_ENV !== 'production' ? "'unsafe-eval'" : '' }; style-src 'self' 'unsafe-inline' http://hello.myfonts.net/; - img-src 'self' data: https://medium.com/ https://cdn-images-1.medium.com/ https://images.transistor.fm/ https://i.ytimg.com/; + img-src 'self' data: https://medium.com/ https://cdn-images-1.medium.com/ https://images.transistor.fm/ https://i.ytimg.com/ https://utfs.io/; media-src 'self' https://media.transistor.fm/; frame-src 'self' https://www.youtube-nocookie.com/; base-uri 'self'; diff --git a/src/hemsedal24/bilder.tsx b/src/hemsedal24/bilder.tsx index fd4006dff..32265858e 100644 --- a/src/hemsedal24/bilder.tsx +++ b/src/hemsedal24/bilder.tsx @@ -26,10 +26,8 @@ export default function Bilder() { const fetchFiles = async () => { const response = await fetch('/api/files'); const data = await response.json(); - console.log(data); setFilesData(data); }; -console.log((width/21)+(((width / 100) | 0)/4)) const [filesData, setFilesData] = useState(null); useEffect(() => { fetchFiles();