mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-12-15 01:55:48 -07:00
Removed Legacy Cert Path for Vite Dev Server
This commit is contained in:
@@ -1299,8 +1299,7 @@ switch ($choice) {
|
|||||||
|
|
||||||
Push-Location $webUIDestinationAbsolute
|
Push-Location $webUIDestinationAbsolute
|
||||||
try {
|
try {
|
||||||
$certRoot = Join-Path $scriptDir 'Certificates\Server'
|
Ensure-EngineTlsMaterial -PythonPath $venvPython
|
||||||
Ensure-EngineTlsMaterial -PythonPath $venvPython -CertificateRoot $certRoot
|
|
||||||
$requiredTlsFiles = @($env:BOREALIS_TLS_CERT, $env:BOREALIS_TLS_KEY, $env:BOREALIS_TLS_BUNDLE)
|
$requiredTlsFiles = @($env:BOREALIS_TLS_CERT, $env:BOREALIS_TLS_KEY, $env:BOREALIS_TLS_BUNDLE)
|
||||||
foreach ($tlsFile in $requiredTlsFiles) {
|
foreach ($tlsFile in $requiredTlsFiles) {
|
||||||
if ([string]::IsNullOrWhiteSpace($tlsFile) -or -not (Test-Path $tlsFile)) {
|
if ([string]::IsNullOrWhiteSpace($tlsFile) -or -not (Test-Path $tlsFile)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user