diff --git a/.env b/.env index fc2548375..792805a74 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ -VUE_APP_API_URL=#{API_URL}# -VUE_APP_CURR_ENV=#{CURR_ENV}# -VUE_APP_NET_API_URL=#{NET_API_URL}# \ No newline at end of file +VITE_APP_API_URL=#{API_URL}# +VITE_APP_CURR_ENV=#{CURR_ENV}# +VITE_APP_NET_API_URL=#{NET_API_URL}# \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.js index 74f2d1f4e..3d5ca672a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,8 +1,7 @@ module.exports = { root: true, env: { - node: true, - es2022: true + node: true }, extends: [ 'plugin:vue/essential', @@ -15,8 +14,8 @@ module.exports = { ecmaVersion: 2020 }, rules: { - 'no-console': import.meta.env.NODE_ENV === 'production' ? 'warn' : 'off', - 'no-debugger': import.meta.env.NODE_ENV === 'production' ? 'warn' : 'off', + 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', + 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'prettier/prettier': ['error', { endOfLine: 'auto' }], 'sort-imports': ['error', {"ignoreCase": true, "ignoreDeclarationSort": true }], '@typescript-eslint/no-var-requires': 'off' diff --git a/index-ca-en.html b/index-ca-en.html index 693f3195e..73528b4d9 100644 --- a/index-ca-en.html +++ b/index-ca-en.html @@ -20,24 +20,21 @@ src="https://www.canada.ca/etc/designs/canada/cdts/gcweb/rn/cdts/compiled/wet-en.js" > - - - -
d<%= require('html-loader!../src/assets/static/cdts/top-en.html') %>
+
- + - - + +