Skip to content

Commit

Permalink
Assets base URI is now /assets/ on production
Browse files Browse the repository at this point in the history
  • Loading branch information
hanazuki committed Apr 8, 2024
1 parent 7cd49ab commit e814474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webpack_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def asset_paths(name, type)
end

def assets_base_uri
@assets_base_uri ||= ENV.fetch('WEBPACK_DEV_SERVER_URL', settings.assets_uri)
@assets_base_uri ||= ENV.fetch('WEBPACK_DEV_SERVER_URL', '/assets/')
end

def format_attrs(attrs)
Expand Down

0 comments on commit e814474

Please sign in to comment.