Post-build script #5091
Replies: 1 comment
-
Closed as this isn't the right place. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've been using a static md blog generator (Quartz) and I wanted to implement a password protect feature for certain pages with Staticrypt. To do so, I made a script that encrypts generated .html files in the "public" folder.
Sadly, this method does not work on vercel because It uses the "fs" module on nodejs. How could I modify my script to work on vercel?
The script: https://gist.github.com/OrigamingWasTaken/7fa8617d7c9b5c35581aba682d27a5bb
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions