File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ RUN gem install bundler \
3
3
&& apt-get update \
4
4
&& apt-get upgrade --yes \
5
5
&& apt-get install --yes --no-install-recommends \
6
- libpq5 libxml2 libxslt1.1 \
6
+ libpq5 libxml2 libxslt1.1 libvips \
7
7
curl gnupg graphviz nodejs \
8
8
&& echo "deb http://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" > /etc/apt/sources.list.d/pgdg.list \
9
9
&& curl -sL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ def destroy_image
17
17
private
18
18
19
19
def set_host_for_local_storage
20
- ActiveStorage ::Current . host = request . base_url if Rails . application . config . active_storage . service == :local
20
+ return unless Rails . application . config . active_storage . service == :local
21
+
22
+ ActiveStorage ::Current . url_options = { host : request . base_url }
21
23
end
22
24
end
23
25
end
You can’t perform that action at this time.
0 commit comments