mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 10:56:16 -04:00
handle urls with additional content
This commit is contained in:
parent
039e01bd8f
commit
0f46f04dee
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,9 @@ function sendPadHeaderFiles(res, callback){
|
|||
var client_hooks = plugin.parts[0].client_hooks;
|
||||
if(client_hooks){
|
||||
Object.keys(client_hooks).forEach(function(k){
|
||||
pluginPaths.push(client_hooks[k]);
|
||||
var path = client_hooks[k];
|
||||
path = path.split(":")[0];
|
||||
pluginPaths.push(path);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue