浏览代码

move ssl certifs in the env subdir

Olivier Massot 1 年之前
父节点
当前提交
19ef2bf463
共有 3 个文件被更改,包括 2 次插入2 次删除
  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')