diff --git a/next.config.js b/next.config.js index 3fb4a73..c8794c0 100644 --- a/next.config.js +++ b/next.config.js @@ -1,17 +1,4 @@ module.exports = { trailingSlash: true, assetPrefix: `../`, - webpack: (config, { dev, isServer }) => { - if (!dev && !isServer) { - config.resolve.alias = { - ...config.resolve.alias, - 'react/jsx-runtime.js': 'preact/compat/jsx-runtime', - react: 'preact/compat', - 'react-dom/test-utils': 'preact/test-utils', - 'react-dom': 'preact/compat', - } - } - - return config - }, } diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index ffe969c..fd3d265 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -27,12 +27,12 @@ export const Footer = () => { - {'Archiv + {'Archiv - {'Digitalwarenkombinat'} + {'Digitalwarenkombinat'} Digitalwarenkombinat @@ -41,10 +41,10 @@ export const Footer = () => { - {'Kulturstiftung + {'Kulturstiftung - {'Kulturstiftung + {'Kulturstiftung diff --git a/src/services/Call.tsx b/src/services/Call.tsx index 3ec79ca..846cf13 100644 --- a/src/services/Call.tsx +++ b/src/services/Call.tsx @@ -46,7 +46,7 @@ export const Call = ({ number, caller, onEnd }) => { number && caller !== null && load({ - src: `./revolutionstelephone/${number.slice(1)}.mp3`, + src: `../revolutionstelephone/${number.slice(1)}.mp3`, autoplay: true, onend: () => onEnd(), onstop: () => onEnd(),