mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-31 16:11:48 +00:00
Migrate from create react app to vite
This commit is contained in:
@@ -126,11 +126,11 @@ function Contents() {
|
||||
/>
|
||||
|
||||
<p className="ui right aligned version">
|
||||
version: {formatBuildDate(process.env.REACT_APP_GIT_TIME!)} (
|
||||
version: {formatBuildDate(import.meta.env.VITE_GIT_TIME!)} (
|
||||
<a
|
||||
href={`https://github.com/PeWu/topola-viewer/commit/${process.env.REACT_APP_GIT_SHA}`}
|
||||
href={`https://github.com/PeWu/topola-viewer/commit/${import.meta.env.VITE_GIT_SHA}`}
|
||||
>
|
||||
{process.env.REACT_APP_GIT_SHA}
|
||||
{import.meta.env.VITE_GIT_SHA}
|
||||
</a>
|
||||
)
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user