Skip to content

Commit fea026f

Browse files
authored
StatsHouse UI: fix build version (#2140)
1 parent 28b0ca2 commit fea026f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

statshouse-ui/index.ejs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@
1818
<link rel="apple-touch-icon" href="/logo192.png" />
1919
<link rel="manifest" href="/manifest.json" />
2020
<title>StatsHouse UI</title>
21-
21+
<meta name="build-version" content="<%= import.meta.env.REACT_APP_BUILD_VERSION %>" />
2222
<% if (import.meta.env.PROD) { %>
23-
<meta name="build-version" content="%REACT_APP_BUILD_VERSION%" />
2423
<meta name="settings" content="{{.Settings}}" />
2524
<% } else { %>
26-
<meta name="build-version" content="<%= import.meta.env.REACT_APP_BUILD_VERSION ?? 'dev' %>" />
2725
<meta name="settings" content="<%= import.meta.env.REACT_APP_CONFIG %>" />
2826
<% } %> <% if (import.meta.env.PROD) { %><!--{{ if .OpenGraph }}-->
2927
<meta property="og:title" content="{{.OpenGraph.Title}}" />

0 commit comments

Comments
 (0)