瀏覽代碼

save 切换为生产环境

master
leiyun 1 年之前
父節點
當前提交
24c0a38578
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. +2
    -2
      src/home/controller/index.js
  2. +1
    -1
      view/home/index_index.html

+ 2
- 2
src/home/controller/index.js 查看文件

@@ -32,9 +32,9 @@ function leAgree (opts, agreeCb) {
const greenlock = Greenlock.create({
version: 'draft-12',
// 测试环境
server: 'https://acme-staging-v02.api.letsencrypt.org/directory',
// server: 'https://acme-staging-v02.api.letsencrypt.org/directory',
// 生产环境
// server: 'https://acme-v02.api.letsencrypt.org/directory',
server: 'https://acme-v02.api.letsencrypt.org/directory',
store: leStore,
challenges: {
'http-01': leHttpChallenge,


+ 1
- 1
view/home/index_index.html 查看文件

@@ -3,7 +3,7 @@

<head>
<meta charset="UTF-8">
<title>New ThinkJS Application</title>
<title>证书自动更新系统</title>
<style>
* {
padding: 0;


Loading…
取消
儲存