Skip to content

Commit

Permalink
fix env var
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb8005 authored Feb 26, 2022
1 parent 267ec41 commit d2f3ab3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const githubUrl:string = 'https://github.com/nexys-admin/qrbill';
export const version:string = process.env.REACT_APP_VERSION || "unset_version";
export const version = import.meta.env.SNOWPACK_PUBLIC_VERSION || "unset_version";
export const sha = import.meta.env.SNOWPACK_PUBLIC_GIT_SHA || "unset_sha";
export const githubUrlVersion:string = `${githubUrl}/releases/tag/${version}`
export const title = "Swiss QR Bill";

0 comments on commit d2f3ab3

Please sign in to comment.