- passes https://git.coolaj86.com/coolaj86/greenlock-store-test.js - lacks working approveDomains example - not 100% sure wildcards are fully supported - not tested in production
6 lines
117 B
JavaScript
6 lines
117 B
JavaScript
'use strict';
|
|
|
|
module.exports = function (domain) {
|
|
return '*.' + String(domain).split('.').slice(1).join('.');
|
|
};
|