File tree Expand file tree Collapse file tree 6 files changed +11
-2
lines changed
Expand file tree Collapse file tree 6 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 77
88! static /default.jpg
99podcast.db-shm
10- podcast.db-wal
10+ podcast.db-wal
11+
12+ static /* .jpg
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ COPY --from=builder /app/src/target/release/podgrabv2 /app/podgrabv2
4848COPY --from=builder /app/src/migrations /app/migrations
4949COPY --from=builder /app/src/db /app/db
5050COPY --from=ui-builder /app/dist /app/static
51+ COPY ./docs/default.jpg /app/static/default.jpg
5152
5253EXPOSE 8000
5354CMD ["./podgrabv2" ]
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ COPY --from=builder /app/src/target/release/podgrabv2 /app/podgrabv2
5252COPY --from=builder /app/src/migrations /app/migrations
5353COPY --from=builder /app/src/db /app/db
5454COPY --from=ui-builder /app/dist /app/static
55+ COPY ./docs/default.jpg /app/static/default.jpg
5556
5657
5758EXPOSE 8000
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ COPY --from=builder /app/src/target/release/podgrabv2 /app/podgrabv2
4848COPY --from=builder /app/src/migrations /app/migrations
4949COPY --from=builder /app/src/db /app/db
5050COPY --from=ui-builder /app/dist /app/static
51+ COPY ./docs/default.jpg /app/static/default.jpg
5152
5253EXPOSE 8000
5354CMD ["./podgrabv2"]
File renamed without changes.
Original file line number Diff line number Diff line change @@ -343,7 +343,11 @@ async fn insert_outline(
343343
344344 let image_url = match channel. image {
345345 Some ( image) => image. url ,
346- None => environment. server_url . clone ( ) . to_owned ( ) + "ui/default.jpg" ,
346+ None => {
347+ println ! ( "No image found for podcast. Downloading from {}" , environment. server_url
348+ . clone( ) . to_owned( ) + "ui/default.jpg" ) ;
349+ environment. server_url . clone ( ) . to_owned ( ) + "ui/default.jpg"
350+ } ,
347351 } ;
348352
349353 podcast_service
You can’t perform that action at this time.
0 commit comments