Add Version Number To Footer

This commit is contained in:
2026-07-12 01:11:45 +10:00
parent 35c439dba4
commit f0306a6dd8
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -12,6 +12,9 @@ COPY . .
RUN composer install --no-dev --optimize-autoloader RUN composer install --no-dev --optimize-autoloader
ARG APP_VERSION=Dev
ENV VITE_APP_VERSION=$APP_VERSION
RUN npm install && npm run build && rm -f public/hot RUN npm install && npm run build && rm -f public/hot
COPY docker/nginx.conf /etc/nginx/nginx.conf COPY docker/nginx.conf /etc/nginx/nginx.conf
+1 -1
View File
@@ -18,7 +18,7 @@ function getAppVersion(): string {
export default defineConfig({ export default defineConfig({
define: { define: {
__APP_VERSION__: JSON.stringify(getAppVersion()), __APP_VERSION__: JSON.stringify(process.env.VITE_APP_VERSION ?? 'Dev'),
}, },
plugins: [ plugins: [
laravel({ laravel({