UNPKG

@uniorg/localneo

Version:

Run your SAP-WebIDE based applications locally using the neo-app.json as a web server config.

15 lines (11 loc) 281 B
const StaticDirectory = require('./StaticDirectory') class StaticFactory { constructor (path, index) { this.path = path this.index = index } getRouter () { return new StaticDirectory({ root: this.path, index: this.index }) } } module.exports = StaticFactory