feat: vite

This commit is contained in:
CaIon
2024-03-23 19:09:09 +08:00
parent a500097b36
commit 93be61aaf3
8 changed files with 73 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ const Footer = () => {
href="https://github.com/Calcium-Ion/new-api"
target="_blank" rel="noreferrer"
>
New API {process.env.REACT_APP_VERSION}{' '}
New API {import.meta.env.VITE_REACT_APP_VERSION}{' '}
</a>
{' '}
<a href="https://github.com/Calcium-Ion" target="_blank" rel="noreferrer">