Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix error dev not booting up (#605)

Helge6576895f7005
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index 652908f5..652ad120 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -18,7 +18,7 @@ const nextConfig = {
? [
{
// allow CORS only on dev for admin site to get monaco files
- source: 'min/vs/(.*)',
+ source: '/min/vs/(.*)',
headers: [
{ key: 'Access-Control-Allow-Origin', value: '*' },
{ key: 'Access-Control-Allow-Methods', value: 'GET' },