Skip to content

Commit

Permalink
fix: move middleware into source directory
Browse files Browse the repository at this point in the history
This needs to be on the same level as the pages directory, sometimes the documentation mentioned "root", but that obviously is not true if you use a src directory
  • Loading branch information
iCrawl committed Jul 23, 2022
1 parent f50382e commit 90cbd2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/website/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"~/*": ["./src/*"]
}
},
"include": ["src/**/*.ts", "src/**/*.tsx", "middleware.ts", "next-env.d.ts", "types.d.ts"],
"include": ["src/**/*.ts", "src/**/*.tsx", "next-env.d.ts", "types.d.ts"],
"exclude": ["node_modules"]
}

1 comment on commit 90cbd2b

@vercel
Copy link

@vercel vercel bot commented on 90cbd2b Jul 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.