We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de1c467 commit fca5489Copy full SHA for fca5489
start.bat
@@ -72,7 +72,7 @@ if "%APP_KEY%"=="" (
72
echo No application key set. A new key will be generated automatically.
73
74
for /f "delims=" %%i in ('powershell -Command "$RandomBytes = New-Object byte[] 32; [Security.Cryptography.RNGCryptoServiceProvider]::Create().GetBytes($RandomBytes); $Base64String = [Convert]::ToBase64String($RandomBytes); Write-Output $Base64String"') do (
75
- set APP_KEY=%%i
+ set "APP_KEY=%%i"
76
)
77
78
powershell -Command "(Get-Content 'configs\core\.env') | ForEach-Object {$_ -replace '\bAPP_KEY=.*', 'APP_KEY=base64:!APP_KEY!'} | Set-Content 'configs\core\.env'"
0 commit comments