mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
🐛 Fixed routes.yaml upload on Ubuntu
no issue - a specific content type was missing (e.g. Firefox on Ubuntu) - they send a different content-type to the server: application/x-yaml - was reported in the forum: https://forum.ghost.org/t/cant-upload-routes-yamls-for-dynamic-routing-error-please-select-a-valid-yaml-file-to-import/2986
This commit is contained in:
parent
8f568bc556
commit
ec49a48a1e
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@
|
|||
},
|
||||
"routes": {
|
||||
"extensions": [".yaml"],
|
||||
"contentTypes": ["text/plain", "text/yaml", "application/octet-stream", "application/yaml"]
|
||||
"contentTypes": ["text/plain", "text/yaml", "application/octet-stream", "application/yaml", "application/x-yaml"]
|
||||
}
|
||||
},
|
||||
"times": {
|
||||
|
|
Loading…
Add table
Reference in a new issue