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
Laura i Domiś
HTTP.sh
Commits
61bd6b72
Commit
61bd6b72
authored
Jul 26, 2021
by
Dominika Liberda
💽
Browse files
* fix XML mimetype
parent
a9a2d8da
Pipeline
#448
failed with stage
in 3 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mime.sh
View file @
61bd6b72
...
...
@@ -21,7 +21,7 @@ function get_mime() {
mimetype
=
""
elif
[[
$file
==
*
".css"
]]
;
then
mimetype
=
"text/css"
elif
[[
$mime
==
"text/"
*
]]
;
then
elif
[[
$mime
==
"text/"
*
&&
$mime
!=
"text/xml"
]]
;
then
mimetype
=
"text/plain"
else
mimetype
=
"
$mime
"
...
...
Write
Preview
Supports
Markdown
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