Support set url path and use relative url, move raphael to bower and fixed minor issue in history
This commit is contained in:
@@ -240,7 +240,7 @@ function getNotenameFromSocket(socket) {
|
||||
return socket.disconnect(true);
|
||||
}
|
||||
var hostUrl = url.parse(referer);
|
||||
var notename = hostUrl.pathname.split('/')[1];
|
||||
var notename = config.urlpath ? hostUrl.pathname.slice(config.urlpath.length + 1, hostUrl.pathname.length).split('/')[1] : hostUrl.pathname.split('/')[1];
|
||||
if (notename == config.featuresnotename) {
|
||||
return notename;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user