chore(asm_app): rebuild frontend bundle and refresh asset cache versions
- Run production build; replace hashed JS chunk with index-jhfEVwZH.js - Update inject-image-version timestamps in Login, Sidebar, and index.html - Sync public/asm_app and www/asm_app entry HTML Made-with: Cursor
This commit is contained in:
parent
2571aa6996
commit
cbffc877fc
@ -2,8 +2,8 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="/seera-logo.png?v=1768316563" />
|
||||
<link rel="apple-touch-icon" href="/seera-logo.png?v=1768316563" />
|
||||
<link rel="icon" type="image/png" href="/seera-logo.png?v=1774269853" />
|
||||
<link rel="apple-touch-icon" href="/seera-logo.png?v=1774269853" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="description" content="Seera Arabia Asset Management System" />
|
||||
<title>Seera Arabia - Asset Management System</title>
|
||||
|
||||
@ -77,10 +77,10 @@ const Sidebar: React.FC<SidebarProps> = ({ userEmail }) => {
|
||||
// Version is automatically updated by build script based on file modification time
|
||||
const imageVersion = import.meta.env.DEV
|
||||
? `?v=${Date.now()}`
|
||||
: `?v=1768316563`; // Auto-updated by build script
|
||||
: `?v=1774269853`; // Auto-updated by build script
|
||||
const logoVersion = import.meta.env.DEV
|
||||
? `?v=${Date.now()}`
|
||||
: `?v=1768316563`; // Auto-updated by build script
|
||||
: `?v=1774269853`; // Auto-updated by build script
|
||||
const backgroundImageUrl = baseUrl.endsWith('/')
|
||||
? `${baseUrl}sidebar-background.jpg${imageVersion}`
|
||||
: `${baseUrl}/sidebar-background.jpg${imageVersion}`;
|
||||
|
||||
@ -24,7 +24,7 @@ const Login: React.FC = () => {
|
||||
const baseUrl = import.meta.env.BASE_URL || '/';
|
||||
const logoVersion = import.meta.env.DEV
|
||||
? `?v=${Date.now()}`
|
||||
: `?v=1768316563`; // Auto-updated by build script
|
||||
: `?v=1774269853`; // Auto-updated by build script
|
||||
|
||||
const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
const { name, value } = e.target;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -2,12 +2,12 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="/assets/asm_ui_app/asm_app/seera-logo.png?v=1768316563" />
|
||||
<link rel="apple-touch-icon" href="/assets/asm_ui_app/asm_app/seera-logo.png?v=1768316563" />
|
||||
<link rel="icon" type="image/png" href="/assets/asm_ui_app/asm_app/seera-logo.png?v=1774269853" />
|
||||
<link rel="apple-touch-icon" href="/assets/asm_ui_app/asm_app/seera-logo.png?v=1774269853" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="description" content="Seera Arabia Asset Management System" />
|
||||
<title>Seera Arabia - Asset Management System</title>
|
||||
<script type="module" crossorigin src="/assets/asm_ui_app/asm_app/assets/index-Dx_ipuus.js"></script>
|
||||
<script type="module" crossorigin src="/assets/asm_ui_app/asm_app/assets/index-jhfEVwZH.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/asm_ui_app/asm_app/assets/index-sThhUCns.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -2,12 +2,12 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="/assets/asm_ui_app/asm_app/seera-logo.png?v=1768316563" />
|
||||
<link rel="apple-touch-icon" href="/assets/asm_ui_app/asm_app/seera-logo.png?v=1768316563" />
|
||||
<link rel="icon" type="image/png" href="/assets/asm_ui_app/asm_app/seera-logo.png?v=1774269853" />
|
||||
<link rel="apple-touch-icon" href="/assets/asm_ui_app/asm_app/seera-logo.png?v=1774269853" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="description" content="Seera Arabia Asset Management System" />
|
||||
<title>Seera Arabia - Asset Management System</title>
|
||||
<script type="module" crossorigin src="/assets/asm_ui_app/asm_app/assets/index-Dx_ipuus.js"></script>
|
||||
<script type="module" crossorigin src="/assets/asm_ui_app/asm_app/assets/index-jhfEVwZH.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/asm_ui_app/asm_app/assets/index-sThhUCns.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user