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

Merge branch '954-remove-hostname-from-opensearch-template' into 'development'

Resolve "Remove Hostname from Opensearch Template"

Closes #954

See merge request !1567
parents 563f0054 695ff9ae
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
$response = Response::make(
view('plugin')
->with('link', $link)
->with('hostname', gethostname())
, "200");
$response->header('Content-Type', "application/opensearchdescription+xml");
return $response;
......
<?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/">
<ShortName>MetaGer ({{ $hostname }})</ShortName>
<ShortName>@if(env('APP_ENV', '') === "production") MetaGer @else MetaGer (Entwicklungsversion) @endif</ShortName>
<Description>{{ trans('plugin.description') }}</Description>
<Contact>office@suma-ev.de</Contact>
<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