Sfoglia il codice sorgente

save 切换为生产环境

master
leiyun 10 mesi fa
parent
commit
24c0a38578
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +2
    -2
      src/home/controller/index.js
  2. +1
    -1
      view/home/index_index.html

+ 2
- 2
src/home/controller/index.js Vedi File

@@ -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 Vedi File

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

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


Caricamento…
Annulla
Salva