Scheduling infrastructure for absolutely everyone.
fix: rewrite to avoid cross origin issues with sprite.svg icons (#16239)
Morganaab9193e7bce
diff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex f27194dce9d..d61529fd417 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -365,6 +365,10 @@ const nextConfig = {source: "/team/:teamname/avatar.png",destination: "/api/user/avatar?teamname=:teamname",},+ {+ source: "/icons/sprite.svg",+ destination: `${process.env.NEXT_PUBLIC_WEBAPP_URL}/icons/sprite.svg`,+ },// When updating this also update pagesAndRewritePaths.js...[