Files
speckle-server/modules/core/index.js
T
Dimitrie Stefanescu 16f3e1bb03 fix(subs): wrapps onConnection in a try catch and checks for auth headers
some clients send the connection params with lowercase :/
2020-08-31 13:27:55 +01:00

11 lines
283 B
JavaScript

'use strict'
let debug = require( 'debug' )
exports.init = async ( app, options ) => {
debug( 'speckle:modules' )( '💥\tInit core module' )
// Initialises the two main bulk upload/download endpoints
require( './rest/upload' )( app )
require( './rest/download' )( app )
}