Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const pkg_json = require('./package.json')
- const vertex = require('vertex360')({site_id:pkg_json.app})
- // initialize app
- const app = vertex.app()
- // import routes
- const index = require('./routes/index')
- const api = require('/.routes/api')
- const sms = require('./routes/sms')
- const tags = require('./routes/tags')
- // set routes
- app.use('/', index)
- app.use('/api', api)
- app.use('/sms', sms)
- app.use('/tags', tags)
- module.exports = app
Add Comment
Please, Sign In to add comment