greenlock-store-sequelize.js/convert-wildcard.js

6 lines
117 B
JavaScript
Raw Normal View History

'use strict';
module.exports = function (domain) {
return '*.' + String(domain).split('.').slice(1).join('.');
};