Neocities is flagging my style.css file as an unsupported filetype. I can't update my site because of this.
UPDATE: Solved by u/Michi-Ace
>Update: I was able to upload the file after removing the first comment. I don't know exactly what's happening here, but somehow that comment makes Neocities think it's a different file type.
And then they found that the reason why my style.css file was being flagged was because of the word "NOTE" in my first comment. So yeah don't start your style.css file with the word "NOTE" lol
---------------------------------------------------------------------------------------------------------------------
(Had to reupload this post to change the post title, which I felt wasn't specific enough. Sorry.)
Hi, r/neocities. I'm having trouble updating my style.css file. For whatever reason, Neocities flags it as an unsupported filetype despite the fact that .css files are literally on the list for allowed filetypes.
I'm not able to update it through the Neocities file manager, nor am I able to through Github Actions.
Anyone know how to fix this?
GitHub Actions error message:
statusCode: 400, body: '{\n' + ' "result": "error",\n' + ' "error_type": "invalid_file_type",\n' + ' "message": "css/style.css is not an allowed file type for free sites, supporter required"\n' + '}\n',
(Not sure if it's safe to send the whole thing cuz idk if the error log has any sensitive info aside from the API key which I've already redacted)