summaryrefslogtreecommitdiff
path: root/_content/template.gohtml
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-03-21 03:43:33 +0700
committerShulhan <ms@kilabit.info>2024-03-21 23:18:37 +0700
commit37157d8d40948c85170392f7165a9ad22b6245e7 (patch)
tree4e384a071d934e7b48633ea67ab029f3679e28a3 /_content/template.gohtml
parent01fafce14d4c020107cc903d332c9e850653aa10 (diff)
downloadkilabit.info-37157d8d40948c85170392f7165a9ad22b6245e7.tar.xz
all: use Cloud Storage for static assets
The reason for using cloud storage is to minimize noise in haproxy logs and reduce the size of binary. For example, when user access page "/" for the first time, the log will contains "/assets/...". The binary size reduces to 3,566,023 bytes.
Diffstat (limited to '_content/template.gohtml')
-rw-r--r--_content/template.gohtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/_content/template.gohtml b/_content/template.gohtml
index a6bbfd3..6273198 100644
--- a/_content/template.gohtml
+++ b/_content/template.gohtml
@@ -10,7 +10,7 @@
</head>
<body>
- <img alt="" class="background" src="/assets/images/maple-leaf-transparent-540.jpg" width="920" />
+ <img alt="" class="background" src="https://storage.googleapis.com/umum.kilabit.info/assets/images/maple-leaf-transparent-540.jpg" width="920" />
<div class="topbar">
<div class="topbar-left">