Bläddra i källkod

move ssl certifs in the env subdir

Olivier Massot 1 år sedan
förälder
incheckning
19ef2bf463
3 ändrade filer med 2 tillägg och 2 borttagningar
  1. 0 0
      env/local.portail_v2.opentalent.fr.crt
  2. 0 0
      env/local.portail_v2.opentalent.fr.key
  3. 2 2
      nuxt.config.ts

+ 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')