diff --git a/src/pages/api/linkpreview/[timestamp]/[guild].tsx b/src/pages/api/linkpreview/[timestamp]/[guild]/index.tsx similarity index 100% rename from src/pages/api/linkpreview/[timestamp]/[guild].tsx rename to src/pages/api/linkpreview/[timestamp]/[guild]/index.tsx diff --git a/src/pages/api/linkpreview/[timestamp]/index.tsx b/src/pages/api/linkpreview/[timestamp]/index.tsx index ef63d658ac..2c0430080e 100644 --- a/src/pages/api/linkpreview/[timestamp]/index.tsx +++ b/src/pages/api/linkpreview/[timestamp]/index.tsx @@ -9,7 +9,7 @@ export const config = { const interFont = loadGoogleFont("Inter", "400") const dystopianFont = fetch( - new URL("../../../../../public/fonts/Dystopian-Black.woff", import.meta.url) + new URL("../../../../../../public/fonts/Dystopian-Black.woff", import.meta.url) ).then((res) => res.arrayBuffer()) const handler = async (req, _) => {