Skip to content

Commit 0da2942

Browse files
authored
remove storybook (#24122)
1 parent 9b9a8aa commit 0da2942

2 files changed

Lines changed: 0 additions & 227 deletions

File tree

middleware/render-page.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ export default async function renderPage(req, res, next) {
8888
const { page } = context
8989
const path = req.pagePath || req.path
9090

91-
if (path.startsWith('/storybook')) {
92-
return nextHandleRequest(req, res)
93-
}
94-
9591
// render a 404 page
9692
if (!page) {
9793
if (process.env.NODE_ENV !== 'test' && context.redirectNotFound) {

pages/storybook.tsx

Lines changed: 0 additions & 223 deletions
This file was deleted.

0 commit comments

Comments
 (0)