From 45310dd76ec1222af9b45476e5c48012bcd32cc1 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sat, 31 Oct 2026 17:20:11 -0700 Subject: [PATCH] case 4630 - login page copyright year set when the client is built Co-Authored-By: Claude Opus 5.5 --- src/api/sockeye-version.js | 3 ++- vue.config.js | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/api/sockeye-version.js b/src/api/sockeye-version.js index b683c6b..33f0c55 100644 --- a/src/api/sockeye-version.js +++ b/src/api/sockeye-version.js @@ -1,4 +1,5 @@ export default { version: "8.1.2", - copyright: "© 2026, Ground Zero Tech-Works Inc." + //case 4630: the year is set when the client is built (vue.config.js) + copyright: `© ${process.env.VUE_APP_BUILD_YEAR}, Ground Zero Tech-Works Inc.` }; diff --git a/vue.config.js b/vue.config.js index 176e827..99cbbc8 100644 --- a/vue.config.js +++ b/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/sockeye-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 => {