Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 606401ab authored by Ronak Patel's avatar Ronak Patel Committed by Akhil
Browse files

Resolve "Double slash in build url returned by OTA server"

parent db49d36a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,5 +60,5 @@

    $app = new CmOta($logger);
    $app
    ->setConfig( 'basePath', $protocol.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']) )
    ->setConfig( 'basePath', rtrim( $protocol.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']) , "/" ) )
    ->run();
+1 −1

File changed.

Contains only whitespace changes.