Skip to content

Commit

Permalink
Revert "Fix HTTPS setup in production"
Browse files Browse the repository at this point in the history
This reverts commit ff10916.
  • Loading branch information
xendk committed Jan 2, 2025
1 parent ff10916 commit 2a75022
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Binary file modified config/environments/.production.enc
Binary file not shown.
8 changes: 0 additions & 8 deletions config/initializers/multi_auth.cr
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,3 @@ class HTTP::Client
yield
end
end

class Amber::Server
# Monkeypatch Amber::Server to always make SSL links. We're running
# behind Traefik in production.
def scheme
ssl_enabled? ? "https" : "http"
end
end

0 comments on commit 2a75022

Please sign in to comment.