From 1a5e55148404d37adb7b2ca8c32119d81f2607e6 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sat, 31 Oct 2026 17:20:10 -0700 Subject: [PATCH] case 4630 - login page copyright year set when the client is built Co-Authored-By: Claude Opus 5.5 --- ayanova/src/api/ayanova-version.js | 3 ++- ayanova/vue.config.js | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ayanova/src/api/ayanova-version.js b/ayanova/src/api/ayanova-version.js index b0cff24f..50c25558 100644 --- a/ayanova/src/api/ayanova-version.js +++ b/ayanova/src/api/ayanova-version.js @@ -1,4 +1,5 @@ export default { version: "8.3.1", - copyright: "© 1999-2026, Ground Zero Tech-Works Inc." + //case 4630: the year is set when the client is built (vue.config.js) + copyright: `© 1999-${process.env.VUE_APP_BUILD_YEAR}, Ground Zero Tech-Works Inc.` }; diff --git a/ayanova/vue.config.js b/ayanova/vue.config.js index 85dd22a2..40b13085 100644 --- a/ayanova/vue.config.js +++ b/ayanova/vue.config.js @@ -1,5 +1,9 @@ const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin"); +//case 4630: the year the client is built, for the copyright line (src/api/ayanova-version.js); VUE_APP_ variables +//are compiled into the client +process.env.VUE_APP_BUILD_YEAR = new Date().getFullYear().toString(); + module.exports = { //https://medium.com/@mrodal/how-to-make-lazy-loading-actually-work-in-vue-cli-3-7f3f88cfb102 chainWebpack: config => {