Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Oct 13, 2019
1 parent a139e40 commit ab9f1be
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions scripts/events/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@ hexo.on('generateAfter', () => {
const https = require('https');
const path = require('path');
const env = require(path.normalize('../../package.json'));
https.get({
hostname: 'api.github.com',
port : 443,
path : '/repos/theme-next/hexo-theme-next/releases/latest',
method : 'GET',
headers : {
https.get('https://api.github.com/repos/theme-next/hexo-theme-next/releases/latest', {
headers: {
'User-Agent': 'Theme NexT Client'
}
}, res => {
Expand Down

0 comments on commit ab9f1be

Please sign in to comment.