1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 14:25:31 -04:00

support local next dev ports other than 3000

This commit is contained in:
2022-06-11 08:37:15 -04:00
parent 9c15cc454b
commit fe634738ef
2 changed files with 4 additions and 4 deletions

View File

@@ -31,6 +31,8 @@ module.exports = (phase, { defaultConfig }) => {
NEXT_PUBLIC_RELEASE_DATE: new Date().toISOString(),
// check if we're running locally via `next dev`:
IS_DEV_SERVER: phase === PHASE_DEVELOPMENT_SERVER,
// https://nextjs.org/docs/api-reference/cli#development
NEXT_DEV_PORT: process.env.PORT || 3000,
},
images: {
deviceSizes: [640, 750, 828, 1080, 1200, 1920],