This repository was archived by the owner on Nov 15, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ Useful ref.: // Ref.: http://www.html5rocks.com/en/tutorials/file/filesystem/
6161
6262var fileSystem ;
6363var fileSystemQuota = 24 * 1024 * 1024 ;
64- var remoteRoot = 'https://raw2.github.com/gorhill/httpswitchboard/master/' ;
64+ var remoteRoot = HTTPSB . projectServerRoot ;
6565
6666/******************************************************************************/
6767
Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ var HTTPSB = {
5050 clearBrowserCacheCycle : 0 ,
5151 inlineFieldSeparator : '#' ,
5252
53+ projectServerRoot : 'https://raw2.github.com/gorhill/httpswitchboard/master/' ,
54+
5355 // list of remote blacklist locations
5456 remoteBlacklists : {
5557 // User
Original file line number Diff line number Diff line change @@ -156,6 +156,11 @@ function onBeforeRequestHandler(details) {
156156 if ( requestURL . indexOf ( 'filesystem:' ) === 0 ) {
157157 return ;
158158 }
159+ // Do not block myself from updating assets
160+ // https://github.com/gorhill/httpswitchboard/issues/202
161+ if ( requestURL . indexOf ( HTTPSB . projectServerRoot ) === 0 ) {
162+ return ;
163+ }
159164
160165 var httpsb = HTTPSB ;
161166
You can’t perform that action at this time.
0 commit comments