fix: use BASE_PATH for favicon references in subpath deployments
Hardcoded /favicon.svg paths skip the <base> tag and fail when served from a subpath like /server/. Now uses config.basePath in TSX and a relative href in index.html so the <base> tag resolves correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Cameleer3</title>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user