image 404 issue
This commit is contained in:
Vendored
+10
-1
@@ -1,7 +1,16 @@
|
||||
Options -MultiViews
|
||||
RewriteEngine On
|
||||
|
||||
# SPA fallback — serve index.html for non-file requests under /citpl_website
|
||||
# Never cache HTML entry points - otherwise browsers keep old JS that
|
||||
# requests /assets/* at domain root instead of /citpl_website/assets/*
|
||||
<IfModule mod_headers.c>
|
||||
<FilesMatch "\.(html)$">
|
||||
Header set Cache-Control "no-cache, no-store, must-revalidate"
|
||||
Header set Pragma "no-cache"
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
|
||||
# SPA fallback - serve index.html for non-file requests under /citpl_website
|
||||
RewriteBase /citpl_website/
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
|
||||
Vendored
+2
-2
@@ -4,8 +4,8 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>CITPL Admin</title>
|
||||
<script type="module" crossorigin src="/citpl_website/assets/admin-D28kGkNT.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-DnG5sti3.js">
|
||||
<script type="module" crossorigin src="/citpl_website/assets/admin-CSMXWGox.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-BGySr-Oa.js">
|
||||
<link rel="stylesheet" crossorigin href="/citpl_website/assets/admin-yhMCgkf-.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Vendored
+1
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{c as e,l as t,m as n,u as r}from"./x-DnG5sti3.js";import{r as i,t as a}from"./App-EUHghoux.js";var o=n(r(),1),s=t(),c=e();(0,s.createRoot)(document.getElementById(`root`)).render((0,c.jsx)(o.StrictMode,{children:(0,c.jsx)(i,{children:(0,c.jsx)(a,{})})}));
|
||||
import{c as e,l as t,m as n,u as r}from"./x-BGySr-Oa.js";import{r as i,t as a}from"./App-CIj2WERS.js";var o=n(r(),1),s=t(),c=e();(0,s.createRoot)(document.getElementById(`root`)).render((0,c.jsx)(o.StrictMode,{children:(0,c.jsx)(i,{children:(0,c.jsx)(a,{})})}));
|
||||
@@ -1 +1 @@
|
||||
import{c as e,l as t,m as n,u as r}from"./x-DnG5sti3.js";import{n as i,r as a,t as o}from"./App-EUHghoux.js";var s=n(r(),1),c=t(),l=e();function u(){return(0,s.useEffect)(()=>(document.body.classList.add(`admin-preview-embed`),()=>document.body.classList.remove(`admin-preview-embed`)),[]),(0,l.jsx)(o,{previewMode:!0})}(0,c.createRoot)(document.getElementById(`root`)).render((0,l.jsx)(s.StrictMode,{children:(0,l.jsx)(i.Provider,{value:!0,children:(0,l.jsx)(a,{previewMode:!0,children:(0,l.jsx)(u,{})})})}));
|
||||
import{c as e,l as t,m as n,u as r}from"./x-BGySr-Oa.js";import{n as i,r as a,t as o}from"./App-CIj2WERS.js";var s=n(r(),1),c=t(),l=e();function u(){return(0,s.useEffect)(()=>(document.body.classList.add(`admin-preview-embed`),()=>document.body.classList.remove(`admin-preview-embed`)),[]),(0,l.jsx)(o,{previewMode:!0})}(0,c.createRoot)(document.getElementById(`root`)).render((0,l.jsx)(s.StrictMode,{children:(0,l.jsx)(i.Provider,{value:!0,children:(0,l.jsx)(a,{previewMode:!0,children:(0,l.jsx)(u,{})})})}));
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3
-3
@@ -5,9 +5,9 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Cavin Infotech | One Trusted Technology Partner</title>
|
||||
<script type="module" crossorigin src="/citpl_website/assets/main-DS8JYUzR.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-DnG5sti3.js">
|
||||
<link rel="modulepreload" crossorigin href="/citpl_website/assets/App-EUHghoux.js">
|
||||
<script type="module" crossorigin src="/citpl_website/assets/main-q0-I-ADG.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-BGySr-Oa.js">
|
||||
<link rel="modulepreload" crossorigin href="/citpl_website/assets/App-CIj2WERS.js">
|
||||
<link rel="stylesheet" crossorigin href="/citpl_website/assets/App-DpUt8oMg.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Vendored
+3
-3
@@ -4,9 +4,9 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>CITPL Preview</title>
|
||||
<script type="module" crossorigin src="/citpl_website/assets/preview-G0j3SNu_.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-DnG5sti3.js">
|
||||
<link rel="modulepreload" crossorigin href="/citpl_website/assets/App-EUHghoux.js">
|
||||
<script type="module" crossorigin src="/citpl_website/assets/preview-BQQhaIEe.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-BGySr-Oa.js">
|
||||
<link rel="modulepreload" crossorigin href="/citpl_website/assets/App-CIj2WERS.js">
|
||||
<link rel="stylesheet" crossorigin href="/citpl_website/assets/App-DpUt8oMg.css">
|
||||
<link rel="stylesheet" crossorigin href="/citpl_website/assets/preview-DknkzKsF.css">
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user