feat(web): show app version in sidebar footer via Vite define
Reads version from root package.json at build time and injects it as __APP_VERSION__ via Vite define, replacing the hardcoded "API v3".
This commit is contained in:
@@ -116,7 +116,7 @@ export function Sidebar() {
|
||||
style={{ borderTop: "1px solid var(--border)" }}
|
||||
>
|
||||
<p className="text-xs font-mono hidden sm:block" style={{ color: "var(--text-4)" }}>
|
||||
API v3
|
||||
v{__APP_VERSION__}
|
||||
</p>
|
||||
<div className="flex items-center gap-1.5 mx-auto sm:mx-0">
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user