Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bajins committed Aug 26, 2020
1 parent 4f54082 commit 2efbf7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@
**此分支使用了`chromedp`**

**必须安装`Chrome`**
~~**必须安装`Chrome`**~~

> [CentOS安装Chrome](https://woytu.github.io/System/CentOS%E5%AE%89%E8%A3%85%E8%BD%AF%E4%BB%B6.html#chrome)

## 功能

- 生成激活key

- 获取`xshell``xftp``xmanager`下载链接

- 格式化NGNIX配置


Expand Down
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"flag"
"github.com/gin-gonic/gin"
"log"
"net/http"
"strings"
"time"
Expand Down Expand Up @@ -81,6 +82,9 @@ func Port() (port string) {
}

func init() {
// 设置日志初始化参数
// log.Lshortfile 简要文件路径,log.Llongfile 完整文件路径
log.SetFlags(log.Lshortfile | log.LstdFlags)
// 设置项目为发布环境
//gin.SetMode(gin.ReleaseMode)
go utils.SchedulerFixedTicker(reptile.NetsarangDownloadAll, time.Hour*24)
Expand Down

0 comments on commit 2efbf7c

Please sign in to comment.