提交 ad7b63cf 编写于 作者: 麦壳饼's avatar 麦壳饼

Using http protocol is insecure. Use https instead.

上级 34d94e5a
...@@ -170,11 +170,11 @@ function getActivities(): any[] { ...@@ -170,11 +170,11 @@ function getActivities(): any[] {
}, },
group: { group: {
name: '高逼格设计天团', name: '高逼格设计天团',
link: 'http://github.com/', link: 'https://github.com/',
}, },
project: { project: {
name: '六月迭代', name: '六月迭代',
link: 'http://github.com/', link: 'https://github.com/',
}, },
template: '在 @{group} 新建项目 @{project}', template: '在 @{group} 新建项目 @{project}',
}, },
...@@ -187,11 +187,11 @@ function getActivities(): any[] { ...@@ -187,11 +187,11 @@ function getActivities(): any[] {
}, },
group: { group: {
name: '中二少女团', name: '中二少女团',
link: 'http://github.com/', link: 'https://github.com/',
}, },
project: { project: {
name: '六月迭代', name: '六月迭代',
link: 'http://github.com/', link: 'https://github.com/',
}, },
template: '在 @{group} 新建项目 @{project}', template: '在 @{group} 新建项目 @{project}',
}, },
...@@ -204,7 +204,7 @@ function getActivities(): any[] { ...@@ -204,7 +204,7 @@ function getActivities(): any[] {
}, },
project: { project: {
name: '5 月日常迭代', name: '5 月日常迭代',
link: 'http://github.com/', link: 'https://github.com/',
}, },
template: '将 @{project} 更新至已发布状态', template: '将 @{project} 更新至已发布状态',
}, },
...@@ -217,11 +217,11 @@ function getActivities(): any[] { ...@@ -217,11 +217,11 @@ function getActivities(): any[] {
}, },
project: { project: {
name: '工程效能', name: '工程效能',
link: 'http://github.com/', link: 'https://github.com/',
}, },
comment: { comment: {
name: '留言', name: '留言',
link: 'http://github.com/', link: 'https://github.com/',
}, },
template: '在 @{project} 发布了 @{comment}', template: '在 @{project} 发布了 @{comment}',
}, },
...@@ -234,11 +234,11 @@ function getActivities(): any[] { ...@@ -234,11 +234,11 @@ function getActivities(): any[] {
}, },
group: { group: {
name: '程序员日常', name: '程序员日常',
link: 'http://github.com/', link: 'https://github.com/',
}, },
project: { project: {
name: '品牌迭代', name: '品牌迭代',
link: 'http://github.com/', link: 'https://github.com/',
}, },
template: '在 @{group} 新建项目 @{project}', template: '在 @{group} 新建项目 @{project}',
}, },
......
...@@ -254,7 +254,7 @@ namespace IoTSharp.Controllers ...@@ -254,7 +254,7 @@ namespace IoTSharp.Controllers
string q = Words; string q = Words;
string from = _profile.Value.DefaultLang ?? "zh"; string from = _profile.Value.DefaultLang ?? "zh";
string appId = _profile.Value.AppKey; string appId = _profile.Value.AppKey;
Random rd = new Random(); Random rd = new Random (DateTime.Now.Millisecond);
string secretKey = _profile.Value.AppSecret; string secretKey = _profile.Value.AppSecret;
int _wait = _profile.Value.ApiInterval ?? 80; int _wait = _profile.Value.ApiInterval ?? 80;
List<BaiduTranslateResult> l = new List<BaiduTranslateResult>(); List<BaiduTranslateResult> l = new List<BaiduTranslateResult>();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册