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

Commit e8b15d91 authored by Akhil's avatar Akhil 🙂
Browse files

Merge branch 'double-slash-in-build-url' into 'master'

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

Closes #15

See merge request e/os/LineageOTA!28
parents db49d36a 606401ab
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.