Commit 57372dd7 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Changed download URL for MetaGer Maps

parent 2cf6e53b
......@@ -219,13 +219,7 @@ Route::group(
return redirect("");
Route::get('maps', function () {
$filePath = env('maps_app');
$fileContents = file_get_contents($filePath);
return response($fileContents, 200)
->header('Cache-Control', 'public')
->header('Content-Type', 'application/')
->header('Content-Transfer-Encoding', 'Binary')
->header("Content-Disposition", "attachment; filename=app-release.apk");
return redirect("");
Route::get('maps/version', function () {
Supports Markdown
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