diff --git a/app/build.gradle b/app/build.gradle index b1b6e5ca6..b511ffd9e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,7 +1,7 @@ plugins { id 'com.android.application' version '7.1.2' apply false id 'com.android.library' version '7.1.2' apply false - id 'org.jetbrains.kotlin.android' version '1.7.21' apply false + id 'org.jetbrains.kotlin.android' version '1.7.22' apply false } task clean(type: Delete) { diff --git a/server/Dockerfile b/server/Dockerfile index 289e72697..158c350fd 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -23,7 +23,7 @@ COPY --from=dependencies /app/server/node_modules ./server/node_modules RUN pnpm run build --filter server -FROM mcr.microsoft.com/playwright:v1.28.0-focal as production +FROM mcr.microsoft.com/playwright:v1.28.1-focal as production WORKDIR /app diff --git a/server/src/printer/printer.service.ts b/server/src/printer/printer.service.ts index fb4c97408..2f2249dd3 100644 --- a/server/src/printer/printer.service.ts +++ b/server/src/printer/printer.service.ts @@ -58,6 +58,7 @@ export class PrinterService implements OnModuleInit, OnModuleDestroy { await page.goto(`${url}/${username}/${slug}/printer?secretKey=${secretKey}`); await page.waitForSelector('html.wf-active'); + await page.waitForLoadState("networkidle") const pageFormat: PageConfig['format'] = await page.$$eval( '[data-page]',