blob: 493a2c266af56a4f5e3295dc4bbe9b097ce8bbba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import("etherpad.log");
import("dispatch.{Dispatcher,PrefixMatcher,forward}");
import("plugins.testplugin.controllers.testplugin");
function serverStartup() {
log.info("Server startup for testplugin");
}
function serverShutdown() {
log.info("Server shutdown for testplugin");
}
function handlePath() {
return [[PrefixMatcher('/ep/testplugin/'), forward(testplugin)]];
}
|