Skip to content

Commit

Permalink
Fix updater URL double slash
Browse files Browse the repository at this point in the history
  • Loading branch information
velocity23 committed Oct 2, 2021
1 parent 28c7a10 commit 3c9ce60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion classes/app/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static function downloadUrl($ref)
$conf = Config::get('updater/raw_url');
if (!empty($conf)) return $conf;

return 'https://raw.githubusercontent.com/va-net/flare/' . urlencode($ref) . '/';
return 'https://raw.githubusercontent.com/va-net/flare/' . urlencode($ref);
}

/**
Expand Down
5 changes: 3 additions & 2 deletions updates.json
Original file line number Diff line number Diff line change
Expand Up @@ -1223,13 +1223,14 @@
"themes/default/views/admin/stats.php",
"themes/default/views/admin/user_lookup.php",
"themes/default/views/admin/users.php",
"themes/default/views/admin/events_list.php",
"themes/default/views/admin/events.php",
"themes/default/views/login.php",
"themes/default/views/map.php",
"themes/tailwind/views/admin/pireps.php",
"themes/tailwind/views/admin/pireps_pending.php",
"themes/tailwind/views/pireps_view.php",
"updater.php"
"updater.php",
"classes/app/Updater.php"
],
"queries": [],
"deletedFiles": [
Expand Down

0 comments on commit 3c9ce60

Please sign in to comment.