Skip to content

Commit

Permalink
fix ssh port and header auto logout on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
baldarn committed Dec 5, 2024
1 parent 83b03d1 commit 4db28fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/application/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
</a>
</li>
<li class="nav-item">
<a href="<%= destroy_user_session_url %>" class="nav-link text-secondary">
<a href="<%= destroy_user_session_url %>" class="nav-link text-secondary" data-turbo="false">
<%= image_tag "door.svg", aria: { hidden: true }, size: 24, class: "bi d-block mx-auto mb-1" %>
<%= I18n.t('sign_out' )%>
</a>
Expand Down
5 changes: 3 additions & 2 deletions config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ registry:
env:
clear:
PG_HOST: host.docker.internal
REDIS_URL: redis://host.docker.internal
REDIS_URL: redis://host.docker.internal:6379/0
APP_HOST: opengas.eu
SMTP_PORT: 587
SMTP_ADDRESS: smtp.ionos.it
Expand Down Expand Up @@ -90,7 +90,8 @@ builder:
# - RAILS_MASTER_KEY

# Use a different ssh user than root
# ssh:
ssh:
port: 2222
# user: app

# Use accessory services (secrets come from .kamal/secrets).
Expand Down

0 comments on commit 4db28fa

Please sign in to comment.