Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
695ff9ae
Commit
695ff9ae
authored
Apr 29, 2020
by
Dominik Hebeler
Browse files
removed Hostname from opensearch document
parent
563f0054
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/StartpageController.php
View file @
695ff9ae
...
...
@@ -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
;
...
...
resources/views/plugin.blade.php
View file @
695ff9ae
<?
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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment