Skip to content

Commit 9cdb97a

Browse files
committed
update SCRIPT_NAME config
1 parent 58d92f1 commit 9cdb97a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# This will be deprecated once all team management moves to settings
5656

5757
# Redirect /admin/settings to default tab
58-
get "settings", to: redirect("#{Rails.application.config.relative_url_root}/admin/settings/team")
58+
get "settings", to: redirect("/admin/settings/team")
5959

6060
resources :customers, only: %i[index show edit update] do
6161
resources :subscriptions, only: %i[new create]

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ services:
3131
environment:
3232
- RAILS_MASTER_KEY=${RAILS_MASTER_KEY}
3333
- APP_ENV=uat
34+
- SCRIPT_NAME=/e-newspaper
3435
networks:
3536
- rails_network
3637
- kamal

0 commit comments

Comments
 (0)