backend/app/routing/routers/api/v1/socket.routes.js
garrettmills 412c791b02
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Add real-time collab controller for markdown
2021-04-24 11:40:42 -05:00

24 lines
530 B
JavaScript

module.exports = exports = {
prefix: '/api/v1/socket',
middleware: [],
socket: {
'/norm-editor': [
'controller::socket:NormEditor',
],
'/norm-editor/.websocket': [
'controller::socket:NormEditor',
],
'/editor/.websocket': [
'controller::socket:Editor',
],
'/code/.websocket': [
'controller::socket:Code',
],
'/markdown/.websocket': [
'controller::socket:Markdown',
],
}
}