Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a mime type
  • Loading branch information
TomEke committed Nov 15, 2016
1 parent 0fa71bf commit 6a066d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/routes.php
Expand Up @@ -87,7 +87,7 @@
Route::get("/ticket/{id}.tik", function($id) {
$title = \App\Title::find($id);
if ($title != null && $title->ticket != false) {
return Response::make( Storage::get("tickets/" . $title->titleID . ".tik"))->header("Content-Disposition", "Attachment; filename=title.tik");
return Response::make( Storage::get("tickets/" . $title->titleID . ".tik"))->header("Content-Disposition", "Attachment; filename=title.tik")->header("Content-Type", "application/octet-stream");
}
});

Expand Down Expand Up @@ -151,4 +151,4 @@
}
}
return $feed->render('rss');
});
});

0 comments on commit 6a066d2

Please sign in to comment.