Browse Source

move ssl certifs in the env subdir

Olivier Massot 1 year ago
parent
commit
19ef2bf463

+ 0 - 0
local.portail_v2.opentalent.fr.crt → env/local.portail_v2.opentalent.fr.crt


+ 0 - 0
local.portail_v2.opentalent.fr.key → env/local.portail_v2.opentalent.fr.key


+ 2 - 2
nuxt.config.ts

@@ -12,8 +12,8 @@ if (!process.env.NUXT_ENV) {
 
 if (process.env.NUXT_ENV === 'dev') {
   https = {
-    key: fs.readFileSync('local.portail_v2.opentalent.fr.key'),
-    cert: fs.readFileSync('local.portail_v2.opentalent.fr.crt'),
+    key: fs.readFileSync('env/local.portail_v2.opentalent.fr.key'),
+    cert: fs.readFileSync('env/local.portail_v2.opentalent.fr.crt'),
   }
 } else {
   transpile.push('lodash')