Skip to content

Commit

Permalink
disable exception app
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Aug 11, 2023
1 parent f9ed4db commit 726e907
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/controllers/articles_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def show
@post = Post.published.friendly.find(params[:id])

set_meta_tags(
title: @post.title,
description: @post.excerpt,
# title: @post.title,
# description: @post.excerpt,
keywords: "",
# url: Routes.articles_show_url(socket, :show, post.id),
title: "#{@post.title} on Rauversion",
Expand Down
6 changes: 3 additions & 3 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.0

config.exceptions_app = ->(env) {
ErrorsController.action(:show).call(env)
}
#config.exceptions_app = ->(env) {
# ErrorsController.action(:show).call(env)
#}

config.hosts << "chaskiq.sa.ngrok.io"
config.hosts << ENV['HOST']
Expand Down

0 comments on commit 726e907

Please sign in to comment.