随笔记录_20241028

Many things fades from memory over time. The moment you press the shutter, time freezes right there.

2024-10-28 · 1 min

Hugo Baseurl Cloudflare Pages

Introduction I was trying to migrate my blog site from Github pages to Cloudflare pages, but encountered an issue with incorrect URLs for some requested resources due to the baseURL parameter in configuration file. The baseURL represents absolute URLs. The path is appended to the end of the baseURL. When using custom domains in Cloudflare pages, the spliced URL is always xxx.pages.dev/<resource_path> instead of <your_domain>/<resource_path> Solution The solution comes from Nathan....

2024-02-27 · 1 min

Http request in golang

some common http usages in golang

2024-02-25 · 3 min