UNPKG

generator-sails-rest-api

Version:

Yeoman generator that provides already configured and optimized Sails REST API with bundle of predefined features

9 lines (6 loc) 191 B
"use strict"; const cipher = require('sails-service-cipher'); const config = require('../../config/services/cipher'); module.exports = { jwt: cipher('jwt', config.services.cipher.jwt) };