about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/post-web-build.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/post-web-build.js b/scripts/post-web-build.js
index 7bbee3855..5619b251b 100644
--- a/scripts/post-web-build.js
+++ b/scripts/post-web-build.js
@@ -23,10 +23,10 @@ const outputFile = entrypoints
     const ext = path.extname(file)
 
     if (ext === '.js') {
-      return `<script defer="defer" src="/static/js/${file}"></script>`
+      return `<script defer="defer" src="{{staticCDNHost}}/static/js/${file}"></script>`
     }
     if (ext === '.css') {
-      return `<link rel="stylesheet" href="/static/css/${file}">`
+      return `<link rel="stylesheet" href="{{staticCDNHost}}/static/css/${file}">`
     }
 
     return ''