Skip to content
Snippets Groups Projects
Commit 695ff9ae authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

removed Hostname from opensearch document

parent 563f0054
No related branches found
No related tags found
2 merge requests!1568Development,!1567Resolve "Remove Hostname from Opensearch Template"
...@@ -83,7 +83,6 @@ class StartpageController extends Controller ...@@ -83,7 +83,6 @@ class StartpageController extends Controller
$response = Response::make( $response = Response::make(
view('plugin') view('plugin')
->with('link', $link) ->with('link', $link)
->with('hostname', gethostname())
, "200"); , "200");
$response->header('Content-Type', "application/opensearchdescription+xml"); $response->header('Content-Type', "application/opensearchdescription+xml");
return $response; return $response;
......
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>MetaGer ({{ $hostname }})</ShortName> <ShortName>@if(env('APP_ENV', '') === "production") MetaGer @else MetaGer (Entwicklungsversion) @endif</ShortName>
<Description>{{ trans('plugin.description') }}</Description> <Description>{{ trans('plugin.description') }}</Description>
<Contact>office@suma-ev.de</Contact> <Contact>office@suma-ev.de</Contact>
<Image width="16" height="16" type="image/x-icon">{{ url('/favicon.ico') }}</Image> <Image width="16" height="16" type="image/x-icon">{{ url('/favicon.ico') }}</Image>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment