]> git.ardis.lu - ardislu.dev/commitdiff
Revert proxy URL to Google domain
authorArdis Lu <ardisglu@gmail.com>
Wed, 22 Sep 2021 02:44:48 +0000 (19:44 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 22 Sep 2021 02:44:48 +0000 (19:44 -0700)
Putting CDN on top of it via CNAME is not supported

404.html
script.js

index 19854bfc6852be78df80a9870d946986ae36d389..61e244b5f256b34606f5d2a7be13ab5c72ea6735 100644 (file)
--- a/404.html
+++ b/404.html
@@ -51,7 +51,7 @@
     };
 
     (async () => {
-      const proxyUrl = 'https://cms.ardislu.dev/macros/s/AKfycbzMHxwypbwsccBq6RH8LDCAOpM02C4gbkljbcKHKFsoQTRE-f4XTIyswiaO0vshs-Kr/exec';
+      const proxyUrl = 'https://script.google.com/macros/s/AKfycbzMHxwypbwsccBq6RH8LDCAOpM02C4gbkljbcKHKFsoQTRE-f4XTIyswiaO0vshs-Kr/exec';
       const documentId = window.location.pathname.split('/').pop();
       const url = `${proxyUrl}?https://docs.googleapis.com/v1/documents/${documentId}`;
 
index 5150b0016b766e79b61298efde73db29c259ae38..2648ee29533ab7b9579b3337e4ebab5180479b8e 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://cms.ardislu.dev/macros/s/AKfycbzMHxwypbwsccBq6RH8LDCAOpM02C4gbkljbcKHKFsoQTRE-f4XTIyswiaO0vshs-Kr/exec';
+    'https://script.google.com/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.036311 seconds and 4 git commands to generate.