4 ms·
So I wrote a 2 liner plugin that replaces .html with no extension, with the idea that I could upload them to s3, but facing the following problems: - server do
by darylteo 12y ago
So I wrote a 2 liner plugin that replaces .html with no extension, with the idea that I could upload them to s3, but facing the following problems:
- server doesn't deliver the file with the right mime-type.
- uploading to s3 doesn't yield the right mimetype either, I have to manually set them.
Can Cactus deal with either of these?
Edit: okay, so put prettify: true in config.json, and it generates directories with index.html in them for directory urls. Neat. I don't really want dir/ urls, but it'll do.