Skip to content

Commit

Permalink
Revert "use npm version for page version"
Browse files Browse the repository at this point in the history
This reverts commit faa0f50.
  • Loading branch information
ct-chu committed Jun 3, 2024
1 parent faa0f50 commit 7d13fdc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
NEXT_PUBLIC_BASE_PATH=/planisphere
REACT_APP_VERSION=$npm_package_version
NEXT_PUBLIC_BASE_PATH=/planisphere
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "planisphere",
"version": "1.0.1",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { prefix } from './prefix.js';

const jacket = `${prefix}/STARMAPv2022_jacket.svg`
const landscapeGIF = `${prefix}/landscape.gif`
const versionInfo = `v${process.env.REACT_APP_VERSION} by ctchu@HKNEAC`
const versionInfo = "v1.0.1(20240603) by ctchu@HKNEAC"

const darkTheme = createTheme({
palette: {
Expand Down

0 comments on commit 7d13fdc

Please sign in to comment.