Skip to content

Commit

Permalink
feat: add back comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RostiMelk committed Dec 13, 2024
1 parent 8bead76 commit 01883fa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export async function bootstrapRemoteTemplate(
await setCorsOrigin(`http://localhost:${port}`, variables.projectId, apiClient)

debug('Applying environment variables to %s', pkg)
// Next.js uses `.env.local` for local environment variables
const envName = packageFramework?.slug === 'nextjs' ? '.env.local' : '.env'
await applyEnvVariables(packagePath, {...variables, readToken}, envName)
}
Expand Down

0 comments on commit 01883fa

Please sign in to comment.