diff --git a/Dockerfile b/Dockerfile index 58b963cc..a3b37f5e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,7 +51,7 @@ RUN apt update && apt install -y \ --no-install-recommends \ xvfb \ && rm -rf /var/lib/apt/lists/* -RUN sudo snap install chromium +RUN snap install chromium #时区为中国 ENV TZ=Asia/Shanghai diff --git a/example.png b/example.png index d01b7198..01725886 100644 Binary files a/example.png and b/example.png differ diff --git a/test_linuxdo.js b/test_linuxdo.js index d01ee27f..4e33c5e5 100644 --- a/test_linuxdo.js +++ b/test_linuxdo.js @@ -1,4 +1,4 @@ -import { connect } from "puppeteer-real-browser"; +import { connect } from "puppeteer-bypass-cf"; while (true) { console.log("Start of test.js");