forked from julianlam/nodebb-plugin-session-sharing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
25 lines (25 loc) · 894 Bytes
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"id": "nodebb-plugin-session-sharing",
"url": "https://github.com/julianlam/nodebb-plugin-session-sharing",
"library": "./library.js",
"hooks": [
{ "hook": "response:router.page", "method": "addMiddleware" },
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "static:user.loggedOut", "method": "cleanup" },
{ "hook": "filter:config.get", "method": "appendConfig" },
{ "hook": "filter:middleware.render", "method": "appendTemplate" },
{ "hook": "action:settings.set", "method": "reloadSettings" },
{ "hook": "action:login.continue", "method": "saveReverseToken" }
],
"scripts": [
"static/lib/main.js"
],
"modules": {
"../admin/plugins/session-sharing.js": "./static/lib/admin.js"
},
"upgrades": [
"upgrades/session_sharing_hash_to_zset.js"
],
"templates": "static/templates"
}