Skip to content

Commit

Permalink
Run pre-commit on all files
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileDiot committed Feb 13, 2025
1 parent 11b29dc commit 7989508
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/assets/extra.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
mediumZoom(document.querySelectorAll('figure > img'));
mediumZoom(document.querySelectorAll('figure > p > img'));
mediumZoom(document.querySelectorAll('figure > p > img'));
6 changes: 4 additions & 2 deletions src/common/core/ssl/ssl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ function ssl:access()
if
self.ctx.bw.scheme == "http"
and (
((self.ctx.bw.https_configured == "yes" and self.variables["AUTO_REDIRECT_HTTP_TO_HTTPS"] == "yes")
or self.variables["REDIRECT_HTTP_TO_HTTPS"] == "yes")
(
(self.ctx.bw.https_configured == "yes" and self.variables["AUTO_REDIRECT_HTTP_TO_HTTPS"] == "yes")
or self.variables["REDIRECT_HTTP_TO_HTTPS"] == "yes"
)
and self.ctx.bw.request_uri ~= nil
and self.ctx.bw.http_host ~= nil
)
Expand Down

0 comments on commit 7989508

Please sign in to comment.