Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
seneca.act({role:'web',use:{
name:name,
prefix:'/well/:event/',
pin:{role:name,cmd:'*'},
map:{
whoami:{GET:setcontext},
leader:{GET:setcontext},
members: { alias:'player/members/:team', GET: setcontext },
well: { alias:'player/well/:other/:card', POST: setcontext },
member: { alias:'player/member/:other', GET: setcontext },
},
}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.