I use Firefox on Ubuntu, but tried Chromium as well as the Ghost-desktop app for Ubuntu
No special configuration I believe
I wanted to change the routes.yaml file in order to have a static home page, but every time I upload a routes.yaml file (exactly named that), I get the error “Please select a valid YAML file to import”. Another user had (has?) apparently a similar problem with respect to multi-language support. @Kate and @Hannah suggested that it is a problem with linux (the serverside, I assume) missing some YAML content type…
I tried to do ‘npm install yaml’ on my server, but it doesn’t change anything. I did so, assuming that (i) Ghost uses npm to do checks on routes.yaml; (ii) that the missing package is the node yaml package. There are other yaml packages for node though.
My question: What can/should I do to install all the YAML content types on my linux server?
I believe the suggestion is that it might be due to Ubuntu on your local computer not applying a content type, rather than the server. It definitely works on the server.
And yes, I get a 415 error, which is an Unsupported Media error.
So, if I understand correctly, other browsers on other platforms submit this as (say) Content-Type: YAML, and all would be good. What can I do on Ubuntu to get around this?
Having said that, I updated the content/settings/routes.yaml file on the server directly, and it didn’t have an effect (although that may have been a caching issue, since I changed it and went to the homepage). Is that the right place to edit the routes.yaml file?
@vikaspotluri123 That turns out to work (although my configuration is all wrong it seems, and interating this process won’t be fun - but it’s possible). Thanks!