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 => {