mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
Fixed etherpad not being available from subdirectory
This commit is contained in:
parent
7e3ad03e2f
commit
3dae23a1e5
3 changed files with 4 additions and 4 deletions
|
@ -342,7 +342,7 @@ exports.expressCreateServer = async (hookName: string, args: any, cb: Function)
|
|||
req,
|
||||
toolbar,
|
||||
isReadOnly,
|
||||
entrypoint: "/"+fileNamePad
|
||||
entrypoint: "../../"+fileNamePad
|
||||
})
|
||||
res.send(content);
|
||||
});
|
||||
|
@ -356,7 +356,7 @@ exports.expressCreateServer = async (hookName: string, args: any, cb: Function)
|
|||
res.send(eejs.require('ep_etherpad-lite/templates/timeslider.html', {
|
||||
req,
|
||||
toolbar,
|
||||
entrypoint: "/"+fileNameTimeSlider
|
||||
entrypoint: "../../../"+fileNameTimeSlider
|
||||
}));
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue