header('Content-Type', 'text/plain'); return response()->file($filePath); } public function getClientVersion() { return response(DynamicWebConfiguration::where('name', 'ClientUploadVersion')->first()->value) ->header('Content-Type', 'text/plain'); } public function getStudioVersion() { return response(DynamicWebConfiguration::where('name', 'StudioUploadVersion')->first()->value) ->header('Content-Type', 'text/plain'); } }