diff --git a/app/src/App.tsx b/app/src/App.tsx index 7b6517a..3a6ec4c 100644 --- a/app/src/App.tsx +++ b/app/src/App.tsx @@ -102,9 +102,10 @@ function App() { /> )} -

+

EMBA Specialization Solver

+
v{__APP_VERSION__}
diff --git a/app/src/vite-env.d.ts b/app/src/vite-env.d.ts new file mode 100644 index 0000000..dbb4c62 --- /dev/null +++ b/app/src/vite-env.d.ts @@ -0,0 +1,3 @@ +/// + +declare const __APP_VERSION__: string; diff --git a/app/vite.config.ts b/app/vite.config.ts index 5cd70ea..55fdf45 100644 --- a/app/vite.config.ts +++ b/app/vite.config.ts @@ -5,6 +5,9 @@ import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], + define: { + __APP_VERSION__: JSON.stringify('1.0.0'), + }, server: { allowedHosts: ['soos'], },