From ab4c36fa056fcf0d1dc1f7c2301630cd88f783fe Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 20 Mar 2023 20:45:21 +0900 Subject: feat(nuldoc): support cache busting for JavaScript files --- NOTE.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NOTE.md') diff --git a/NOTE.md b/NOTE.md index a547f47..12fec6a 100644 --- a/NOTE.md +++ b/NOTE.md @@ -15,6 +15,11 @@ $ mkdir -p content/posts/$(date +'%Y-%m-%d') $ touch content/posts/$(date +'%Y-%m-%d')/[TITLE].xml ``` +``` +$ curl -o static/pdf.min.js https://unpkg.com/pdfjs-dist@3.4.120/build/pdf.min.js +$ curl -o static/pdf.worker.min.js https://unpkg.com/pdfjs-dist@3.4.120/build/pdf.worker.min.js +``` + ## Structure -- cgit v1.2.3-70-g09d2