build
This commit is contained in:
parent
8a419b0155
commit
f7364d061f
|
|
@ -1,5 +0,0 @@
|
|||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On RewriteBase /subdirectory RewriteRule ^index\.html$ - [L]
|
||||
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-l RewriteRule . /index.html [L]
|
||||
</IfModule>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
Options -MultiViews
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^ index.html [QSA,L]
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Admin Panel</title>
|
||||
<script type="module" crossorigin src="/assets/index.7f10febb.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index.1d9410cd.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index.eb599783.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
Options -MultiViews
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^ index.html [QSA,L]
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
import React from "react";
|
||||
import { HashRouter } from "react-router-dom";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import App from "./App";
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
|
||||
<React.StrictMode>
|
||||
<HashRouter>
|
||||
<BrowserRouter>
|
||||
<App />
|
||||
</HashRouter>
|
||||
</BrowserRouter>
|
||||
</React.StrictMode>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -86,26 +86,6 @@ const Post = () => {
|
|||
value={postData.id !== -1 ? postData.summary : ""}
|
||||
></textarea>
|
||||
</div>
|
||||
<div className="post__content__block">
|
||||
<h4>Created</h4>
|
||||
<input
|
||||
type={"text"}
|
||||
readOnly
|
||||
value={
|
||||
postData.id !== -1 ? parseDate(postData.createdAt)[0] : ""
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
<div className="post__content__block">
|
||||
<h4>Updated</h4>
|
||||
<input
|
||||
type={"text"}
|
||||
readOnly
|
||||
value={
|
||||
postData.id !== -1 ? parseDate(postData.updatedAt)[0] : ""
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
<a
|
||||
className="post__content__btn"
|
||||
href={postData.id !== -1 ? postData.link : ""}
|
||||
|
|
|
|||
Loading…
Reference in New Issue