UNPKG

gatsby-plugin-htaccess

Version:

gatsby-plugin-htaccess creates a customizable htaccess-file on build containing the most important default settings for performance and security.

9 lines (6 loc) 233 B
const followSym = ` Options +FollowSymLinks ` const setDisallowSymLinks = (content, DisallowSymLinks) => DisallowSymLinks ? content : content.replace('### FOLLOW-SYMLINKS ###', followSym) module.exports = setDisallowSymLinks