set SPONSOR_SIGNER=true

This commit is contained in:
Shreyaschorge 2025-07-16 23:54:44 +05:30
parent 53d6ce6a94
commit a287d55641
No known key found for this signature in database

View File

@ -646,7 +646,7 @@ export async function init(projectName = null, autoAcceptDefaults = false, apiKe
} }
fs.appendFileSync(envPath, `\nUSE_TUNNEL="${answers.useTunnel}"`); fs.appendFileSync(envPath, `\nUSE_TUNNEL="${answers.useTunnel}"`);
if (answers.useSponsoredSigner) { if (answers.useSponsoredSigner) {
fs.appendFileSync(envPath, `\nSPONSOR_SIGNER="${answers.useSponsoredSigner}"`); fs.appendFileSync(envPath, `\nSPONSOR_SIGNER="true"`);
fs.appendFileSync( fs.appendFileSync(
envPath, envPath,
`\nNEXTAUTH_SECRET="${crypto.randomBytes(32).toString('hex')}"` `\nNEXTAUTH_SECRET="${crypto.randomBytes(32).toString('hex')}"`