Remove protocol and host.
This commit is contained in:
@@ -97,7 +97,7 @@ $.save = function( commitMessage ) {
|
||||
var markdown = 'markdown';
|
||||
var txt = editorSession.getValue();
|
||||
var msg = defaultCommitMessage();
|
||||
var newLocation = location.protocol + '//' + location.host + baseUrl;
|
||||
var newLocation = baseUrl;
|
||||
|
||||
// 'a%2Fb' => a/b
|
||||
if (pathName) {
|
||||
|
||||
Reference in New Issue
Block a user