Commit b05e9c42 authored by Dominik Hebeler's avatar Dominik Hebeler

Merge branch '658-metager-maps-app-download-link-funktioniert-nicht' into 'development'

Resolve "MetaGer Maps App Download Link funktioniert nicht."

Closes #658

See merge request !1139
parents 4b63cf3a e0573cc9
1.9
\ No newline at end of file
......@@ -180,7 +180,6 @@ Route::group(
$filePath = storage_path() . "/app/public/MetaGer-release.apk";
return response()->download($filePath, "MetaGer-release.apk");
});
Route::get('maps', function () {
$filePath = env('maps_app');
$fileContents = file_get_contents($filePath);
......@@ -190,6 +189,7 @@ Route::group(
->header('Content-Transfer-Encoding', 'Binary')
->header("Content-Disposition", "attachment; filename=app-release.apk");
});
Route::get('maps/version', function () {
$filePath = env('maps_version');
$fileContents = file_get_contents($filePath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment