Skip to content

Commit

Permalink
chore: bump version (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
imaegoo authored Feb 1, 2023
1 parent 5fd9108 commit 4adad91
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion docs/.vuepress/theme/layouts/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<!-- Twikoo -->
<div id="twikoo"></div>
<component :is="'script'" src="https://cdn.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js" ref="twikooJs"></component>
<component :is="'script'" src="https://cdn.jsdelivr.net/npm/[email protected].9/dist/twikoo.all.min.js" ref="twikooJs"></component>
</div>
</template>
</ParentLayout>
Expand Down
12 changes: 6 additions & 6 deletions docs/en/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ exports.main = require('twikoo-func').main
8. 创建完成后,点击“twikoo"进入云函数详情页,进入“函数代码”标签,点击“文件 - 新建文件”,输入 `package.json`,回车
9. 复制以下代码、粘贴到代码框中,点击“保存并安装依赖”
``` json
{ "dependencies": { "twikoo-func": "1.6.8" } }
{ "dependencies": { "twikoo-func": "1.6.9" } }
```

### 命令行部署
Expand Down Expand Up @@ -206,7 +206,7 @@ twikoo:

``` html
<div id="tcomment"></div>
<script src="https://cdn.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].9/dist/twikoo.all.min.js"></script>
<script>
twikoo.init({
envId: '您的环境id', // 腾讯云环境填 envId;Vercel 环境填地址(https://xxx.vercel.app)
Expand All @@ -224,10 +224,10 @@ twikoo.init({

如果遇到默认 CDN 加载速度缓慢,可更换其他 CDN 镜像。以下为可供选择的公共 CDN,其中一些 CDN 可能需要数天时间同步最新版本:

* `https://cdn.staticfile.org/twikoo/1.6.8/twikoo.all.min.js`
* `https://lib.baomitu.com/twikoo/1.6.8/twikoo.all.min.js`
* `https://cdn.bootcdn.net/ajax/libs/twikoo/1.6.8/twikoo.all.min.js`
* `https://cdn.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js`
* `https://cdn.staticfile.org/twikoo/1.6.9/twikoo.all.min.js`
* `https://lib.baomitu.com/twikoo/1.6.9/twikoo.all.min.js`
* `https://cdn.bootcdn.net/ajax/libs/twikoo/1.6.9/twikoo.all.min.js`
* `https://cdn.jsdelivr.net/npm/[email protected].9/dist/twikoo.all.min.js`

## 开启管理面板(腾讯云环境)

Expand Down
12 changes: 6 additions & 6 deletions docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ exports.main = require('twikoo-func').main
8. 创建完成后,点击“twikoo"进入云函数详情页,进入“函数代码”标签,点击“文件 - 新建文件”,输入 `package.json`,回车
9. 复制以下代码、粘贴到代码框中,点击“保存并安装依赖”
``` json
{ "dependencies": { "twikoo-func": "1.6.8" } }
{ "dependencies": { "twikoo-func": "1.6.9" } }
```

### 命令行部署
Expand Down Expand Up @@ -212,7 +212,7 @@ twikoo:

``` html
<div id="tcomment"></div>
<script src="https://cdn.staticfile.org/twikoo/1.6.8/twikoo.all.min.js"></script>
<script src="https://cdn.staticfile.org/twikoo/1.6.9/twikoo.all.min.js"></script>
<script>
twikoo.init({
envId: '您的环境id', // 腾讯云环境填 envId;Vercel 环境填地址(https://xxx.vercel.app)
Expand All @@ -230,10 +230,10 @@ twikoo.init({

如果遇到默认 CDN 加载速度缓慢,可更换其他 CDN 镜像。以下为可供选择的公共 CDN,其中一些 CDN 可能需要数天时间同步最新版本:

* `https://cdn.staticfile.org/twikoo/1.6.8/twikoo.all.min.js`
* `https://lib.baomitu.com/twikoo/1.6.8/twikoo.all.min.js`
* `https://cdn.bootcdn.net/ajax/libs/twikoo/1.6.8/twikoo.all.min.js`
* `https://cdn.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js`
* `https://cdn.staticfile.org/twikoo/1.6.9/twikoo.all.min.js`
* `https://lib.baomitu.com/twikoo/1.6.9/twikoo.all.min.js`
* `https://cdn.bootcdn.net/ajax/libs/twikoo/1.6.9/twikoo.all.min.js`
* `https://cdn.jsdelivr.net/npm/[email protected].9/dist/twikoo.all.min.js`

## 开启管理面板(腾讯云环境)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "twikoo",
"version": "1.6.8",
"version": "1.6.9",
"description": "A simple comment system.",
"keywords": [
"twikoojs",
Expand Down
2 changes: 1 addition & 1 deletion src/client/utils/i18n/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ export default {
[S.ACI + '_QCLOUD_SECRET_ID']: [
'腾讯云 secret id,用于垃圾评论检测。同时设置腾讯云和 Akismet 时,只有腾讯云会生效。注册:https://twikoo.js.org/cms.html',
'騰訊雲 secret id,用於垃圾評論檢測。同時設定騰訊雲和 Akismet 時,只有騰訊雲會生效。註冊:https://twikoo.js.org/cms.html',
'騰訊雲 Secret ID,用於垃圾留言檢測。同時設定騰訊雲和 Akismet 時,只有騰訊雲會被啟用。註冊:https://twikoo.js.org/cms.html', // 「騰訊雲」是一家網路服務提供商,不改為「騰訊雲端」。
'騰訊雲 Secret ID,用於垃圾留言檢測。同時設定騰訊雲和 Akismet 時,只有騰訊雲會被啟用。註冊:https://twikoo.js.org/cms.html', // 「騰訊雲」是一家網路服務提供商,不改為「騰訊雲端」。
'Tencent Cloud secret id for spam detection. When Tencent Cloud and Akismet are set at the same time, only Tencent Cloud will take effect. Register: https://twikoo.js.org/cms.html'
],
[S.ACI + '_QCLOUD_SECRET_KEY']: [
Expand Down
2 changes: 1 addition & 1 deletion src/client/version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const version = '1.6.8'
const version = '1.6.9'

export { version }
4 changes: 2 additions & 2 deletions src/client/view/components/TkSubmit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ export default {
})
if (uploadResult.data) {
this.uploadCompleted(fileIndex, fileName, fileType, uploadResult.data.url)
} else if (uploadResult.code == 1040 && uploadResult.err
&& (smmsImageDuplicateCheck = uploadResult.err.match(/this image exists at: (http[^ ]+)/))) {
} else if (uploadResult.code === 1040 && uploadResult.err &&
(smmsImageDuplicateCheck = uploadResult.err.match(/this image exists at: (http[^ ]+)/))) {
console.warn(uploadResult)
this.uploadCompleted(fileIndex, fileName, fileType, smmsImageDuplicateCheck[1])
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/server/function/twikoo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "twikoo-func",
"version": "1.6.8",
"version": "1.6.9",
"description": "A simple comment system.",
"author": "imaegoo <[email protected]> (https://github.com/imaegoo)",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/server/self-hosted/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tkserver",
"version": "1.6.8",
"version": "1.6.9",
"description": "A simple comment system.",
"keywords": [
"twikoo",
Expand All @@ -26,7 +26,7 @@
"dependencies": {
"get-user-ip": "^1.0.1",
"lokijs": "^1.5.12",
"twikoo-func": "1.6.8",
"twikoo-func": "1.6.9",
"uuid": "^8.3.2"
}
}
2 changes: 1 addition & 1 deletion src/server/vercel-min/package.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "dependencies": { "twikoo-vercel": "1.6.8" } }
{ "dependencies": { "twikoo-vercel": "1.6.9" } }
4 changes: 2 additions & 2 deletions src/server/vercel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "twikoo-vercel",
"version": "1.6.8",
"version": "1.6.9",
"description": "A simple comment system.",
"author": "imaegoo <[email protected]> (https://github.com/imaegoo)",
"license": "MIT",
Expand All @@ -13,7 +13,7 @@
"dependencies": {
"get-user-ip": "^1.0.1",
"mongodb": "^3.6.3",
"twikoo-func": "1.6.8",
"twikoo-func": "1.6.9",
"uuid": "^8.3.2"
}
}

0 comments on commit 4adad91

Please sign in to comment.