]> git.ardis.lu - static-encrypt/commitdiff
Update CDN
authorArdis Lu <ardisglu@gmail.com>
Sun, 23 Apr 2023 02:42:55 +0000 (19:42 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sun, 23 Apr 2023 02:42:55 +0000 (19:42 -0700)
README.md

index 9411547ef73c76e5d7aacd6b6a2ed872ab84c321..9f641f02b4eda45ac7ea52654399388f06dcd13d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -48,7 +48,7 @@ await Promise.all(encryptedContentList.map(v => globalThis.decrypt(v, 'correctho
 1. Import the `decrypt` function provided in `/decrypt.js`:
 
 ```javascript
-import { decrypt } from 'https://cdn.jsdelivr.net/gh/ardislu/static-encrypt/decrypt.js';
+import { decrypt } from 'https://cdn.statically.io/gh/ardislu/static-encrypt/master/decrypt.js';
 ```
 
 2. Pass the encrypted content string and the password to the `decrypt` function:
@@ -67,5 +67,5 @@ plaintext
 You can also import the function dynamically (useful for lazy-loading or testing in DevTools):
 
 ```javascript
-const { decrypt } = await import('https://cdn.jsdelivr.net/gh/ardislu/static-encrypt/decrypt.js');
+const { decrypt } = await import('https://cdn.statically.io/gh/ardislu/static-encrypt/master/decrypt.js');
 ```
This page took 0.047167 seconds and 4 git commands to generate.