24 lines
530 B
JavaScript
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',
|
|
],
|
|
}
|
|
}
|