Skip to content

Commit

Permalink
Add the functionality to authorize copying
Browse files Browse the repository at this point in the history
  • Loading branch information
usual2970 committed Oct 4, 2024
1 parent 1347066 commit f036eb1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ Certimate 是一个免费且开源的项目,采用 [MIT 开源协议](LICENSE.
## 八、加入社区

* [Telegram-a new era of messaging](https://t.me/+ZXphsppxUg41YmVl)
* 微信群聊
* 微信群聊(需要邀请入群,可先加作者好友)

<img src="https://i.imgur.com/zSHEoIm.png" width="400"/>
<img src="https://i.imgur.com/8xwsLTA.png" width="400"/>

## 九、Star History
[![Stargazers over time](https://starchart.cc/usual2970/certimate.svg?variant=adaptive)](https://starchart.cc/usual2970/certimate)
5 changes: 3 additions & 2 deletions internal/notify/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ func Send(title, content string) error {
return nil
}

n := notifyPackage.New()
// 添加推送渠道
notifyPackage.UseServices(notifiers...)
n.UseServices(notifiers...)

// 发送消息
return notifyPackage.Send(context.Background(), title, content)
return n.Send(context.Background(), title, content)
}

func getNotifiers() ([]notifyPackage.Notifier, error) {
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ui/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Certimate - Your Trusted SSL Automation Partner</title>
<script type="module" crossorigin src="/assets/index-DJOIkUUb.js"></script>
<script type="module" crossorigin src="/assets/index-Dn4jGLHB.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-I--T0qY3.css">
</head>
<body class="bg-background">
Expand Down
2 changes: 1 addition & 1 deletion ui/src/domain/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "Certimate v0.1.14";
export const version = "Certimate v0.1.15";

0 comments on commit f036eb1

Please sign in to comment.