Skip to content

Commit

Permalink
fix no rewrite on
Browse files Browse the repository at this point in the history
  • Loading branch information
dyaskur authored Oct 16, 2022
1 parent c9ce951 commit a336f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports.meta = require('../package.json')

function createHtaccess(options) {
var htaccessConfig = ''
if (options.https && !options.redirect) {
if (options.https || !options.redirect) {
htaccessConfig += 'RewriteEngine On\n'
}
if (options.https) {
Expand Down

0 comments on commit a336f21

Please sign in to comment.