Skip to content

Commit dbbbc55

Browse files
committed
refactor: use /assets path instead of assets subdomain
Switch from assets.serhanekici.com to /assets/* path, served by Cloudflare Worker proxying to R2. Eliminates extra browser connection. - Remove preconnect/dns-prefetch hints (same-origin now)
1 parent 457ec73 commit dbbbc55

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BUILD_DIR="build"
2-
ASSETS_DIR="https://assets.serhanekici.com"
2+
ASSETS_DIR="/assets"
33
CSS_FILE="style.css"
44

55
GITHUB_REPO="website"

header.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
<head>
44
<!-- HEAD -->
55
<meta charset="UTF-8" />
6-
<link rel="preconnect" href="${ASSETS_DIR}" crossorigin>
7-
<link rel="dns-prefetch" href="${ASSETS_DIR}">
86
<meta http-equiv="Content-Language" content="${site_lang}" />
97
<meta name="viewport" content="width=device-width" />
108
<meta name="keywords" content="${site_keywords}" />

0 commit comments

Comments
 (0)