Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Nov 26, 2021
1 parent 4c05de3 commit 4367752
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { stringifyRequest } from '../../stringify-request'

export default async function middlewareRSCLoader(this: any) {
export default async function middlewareSSRLoader(this: any) {
const {
absolutePagePath,
absoluteAppPath,
Expand Down
3 changes: 2 additions & 1 deletion packages/next/server/render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ export async function renderToHTML(
!hasPageGetInitialProps &&
defaultAppGetInitialProps &&
!isSSG &&
!getServerSideProps
!getServerSideProps &&
!concurrentFeatures

for (const methodName of [
'getStaticProps',
Expand Down

0 comments on commit 4367752

Please sign in to comment.