]> git.ardis.lu - ardislu.dev/commitdiff
Update proxy URL to use Cloudflare CDN for caching
authorArdis Lu <ardisglu@gmail.com>
Wed, 22 Sep 2021 02:28:20 +0000 (19:28 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 22 Sep 2021 02:28:20 +0000 (19:28 -0700)
404.html
script.js

index 3fae7d2133c2e667f9d15156038efd1bd5c92f39..22a1b83749aa924a40cf495f1d96256f8e8422fc 100644 (file)
--- a/404.html
+++ b/404.html
@@ -51,7 +51,7 @@
     };
 
     (async () => {
-      const proxyUrl = "https://script.google.com/macros/s/AKfycbzMHxwypbwsccBq6RH8LDCAOpM02C4gbkljbcKHKFsoQTRE-f4XTIyswiaO0vshs-Kr/exec";
+      const proxyUrl = "https://cms.ardislu.dev/macros/s/AKfycbzMHxwypbwsccBq6RH8LDCAOpM02C4gbkljbcKHKFsoQTRE-f4XTIyswiaO0vshs-Kr/exec";
       const documentId = window.location.pathname.split("/").pop();
       const url = `${proxyUrl}?https://docs.googleapis.com/v1/documents/${documentId}`;
 
index d0259d930e07864977add114cccf0f3342bfed9d..e4a0abd219638e4adee33e6b905847c378e2fa01 100644 (file)
--- a/script.js
+++ b/script.js
@@ -53,7 +53,7 @@ const inject = (resp) => {
 /* Query Google Sheet for the card content */
 (async () => {
   const proxyUrl =
-    "https://script.google.com/macros/s/AKfycbzMHxwypbwsccBq6RH8LDCAOpM02C4gbkljbcKHKFsoQTRE-f4XTIyswiaO0vshs-Kr/exec";
+    "https://cms.ardislu.dev/macros/s/AKfycbzMHxwypbwsccBq6RH8LDCAOpM02C4gbkljbcKHKFsoQTRE-f4XTIyswiaO0vshs-Kr/exec";
   const controllerId = "1pfGF8yBu3D0GPTezygLuzu3Cif8SkjhtG98nL-czlhc";
   const range = "B3:E";
   const url = `${proxyUrl}?https://sheets.googleapis.com/v4/spreadsheets/${controllerId}/values/${range}`;
This page took 0.046373 seconds and 4 git commands to generate.