Skip to content

Commit

Permalink
use cflags for directory
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Sep 11, 2021
1 parent 3913043 commit b3ef06f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/gatsby/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export const ROUTES_DIRECTORY = `.cache/page-ssr/routes`
export const ROUTES_DIRECTORY =
_CFLAGS_.GATSBY_MAJOR === `4` ? `.cache/page-ssr/routes` : `public`

0 comments on commit b3ef06f

Please sign in to comment.