Commit 6b2eda5d authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Erreur de synthaxe qui générait un warning (#63193)

parent 4769c1bf
Loading
Loading
Loading
Loading
Loading
+4 −2
Changes for config/autoload/unicaen-vue.global.php: 4 added lines, 2 removed lines.
Original line number Diff line number Diff line
<?php


$hostUrl  = $_ENV['DEV_VITE_URL'] ?? null;

if (!$hostUrl) {
    $scheme = $_ENV['HTTP_X_FORWARDED_PROTO'] ?? $_ENV['REQUEST_SCHEME'] ?? 'http';
    $host = $_ENV['APP_HOST'] ?: 'localhost';
    $port = $_ENV['DEV_VITE_PORT'] ?: 5133;
    $host = $_ENV['APP_HOST'] ?? 'localhost';
    $port = $_ENV['DEV_VITE_PORT'] ?? 5133;

    $hostUrl = $scheme . '://' . $host . ':' . $port;

}