We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
The generated files expirations rules are missing to check if the expire modules is ready to be used.
Reproduce the issue
Use the option fileExpirations and check on an Apache served website that the page displays an Apache error.
fileExpirations
module.exports = { siteName: "Gridsome", plugins: [ { use: "gridsome-plugin-htaccess", options: { fileExpirations: { fileTypes: { "image/jpeg": "access plus 1 week", "text/html": "access plus 1 hour", "application/javascript": "access plus 1 hour", "text/css": "access plus 1 hour" } }, } } ] }
Expected result
The rules should be wrapped by the <IfModule mod_expires.c> directive.
<IfModule mod_expires.c>
The text was updated successfully, but these errors were encountered:
Fixed via 1e023c6. Upgrade to the version 0.2.1 to get the fix.
Sorry, something went wrong.
khalyomede
No branches or pull requests
Description
The generated files expirations rules are missing to check if the expire modules is ready to be used.
Reproduce the issue
Use the option
fileExpirations
and check on an Apache served website that the page displays an Apache error.Expected result
The rules should be wrapped by the
<IfModule mod_expires.c>
directive.The text was updated successfully, but these errors were encountered: