Skip to content

Commit

Permalink
Merge branch 'devel' into CB-4896-migrate-to-jetty-12
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-skoblikov authored Sep 17, 2024
2 parents 5a20b4f + 30e74ce commit 8528a8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions deploy/docker/cloudbeaver-ce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ FROM dbeaver/base-java

MAINTAINER DBeaver Corp, [email protected]

RUN apt-get update; \
apt-get upgrade -y;

COPY cloudbeaver /opt/cloudbeaver

EXPOSE 8978
Expand Down
3 changes: 2 additions & 1 deletion webapp/packages/core-browser/src/service-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ registerRoute(
);

registerRoute(
({ request }) => request.destination === 'image',
({ request, url }) => url.origin === self.location.origin && request.destination === 'image',
new CacheFirst({
cacheName: 'images',
plugins: [
Expand All @@ -127,6 +127,7 @@ registerRoute(
new ExpirationPlugin({
maxEntries: 1000,
maxAgeSeconds: 7 * 24 * 60 * 60,
purgeOnQuotaError: true,
}),
],
}),
Expand Down

0 comments on commit 8528a8a

Please sign in to comment.