Skip to content

Commit

Permalink
更换HTPPS
Browse files Browse the repository at this point in the history
  • Loading branch information
pea3nut committed Apr 20, 2017
1 parent 39fd34d commit 829d03b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build/pxer-utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Path =require('path');
const Fs =require('fs');
const Babel = require('babel-core');

module.exports.pxerURL ='http://pxer-app.pea3nut.org/';
module.exports.pxerURL ='https://pxer-app.pea3nut.org/';
module.exports.rootPath ='../';
module.exports.pxerVersion ='7.0.3';

Expand Down
3 changes: 2 additions & 1 deletion build/user.jstpl.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
// @description 可能是目前最好用的P站收图工具
// @grant none
// @noframes
// @include https://www.pixiv.net*<?=isDev?'\n// @include http://127.0.0.1/*\n// @include http://localhost/*':''?>
// @include https://www.pixiv.net*
// @include http://www.pixiv.net*<?=isDev?'\n// @include http://127.0.0.1/*\n// @include http://localhost/*':''?>
// ==/UserScript==
javascript:void((function() {
// 环境变量
Expand Down
7 changes: 4 additions & 3 deletions pxer-dev.user.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/**
* Automatic generated by "user.build.js"
* */
// ==UserScript==
Expand All @@ -10,17 +10,18 @@
// @grant none
// @noframes
// @include https://www.pixiv.net*
// @include http://www.pixiv.net*
// @include http://127.0.0.1/*
// @include http://localhost/*
// ==/UserScript==
javascript:void((function() {
// 环境变量
window['PXER_URL'] =/**/"https://rawgit.com/SetoKaiba/Pxer/dev/";//*/'';
window['PXER_URL'] =/**/"https://pxer-app.pea3nut.org/";//*/'';
window['PXER_MODE'] ='dev';

// 引入入口文件
document.documentElement.appendChild(
document.createElement('script')
).src=window['PXER_URL']+'jsonp.js?'+(+new Date);

})());
})());
18 changes: 10 additions & 8 deletions src/test/tests.js

Large diffs are not rendered by default.

0 comments on commit 829d03b

Please sign in to comment.