diff --git a/dist/index.js b/dist/index.js index d3aa3c8..64baccf 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3,7 +3,7 @@ * description: Get url domain for next. * homepage: https://github.com/afeiship/next-domain * version: 1.0.0 - * date: 2020-12-23 07:38:21 + * date: 2020-12-23 07:39:15 * license: MIT */ diff --git a/dist/index.min.js b/dist/index.min.js index bef5b0a..bc22802 100644 --- a/dist/index.min.js +++ b/dist/index.min.js @@ -3,7 +3,7 @@ * description: Get url domain for next. * homepage: https://github.com/afeiship/next-domain * version: 1.0.0 - * date: 2020-12-23 07:38:21 + * date: 2020-12-23 07:39:15 * license: MIT */ !function(){var n=(this||window||Function("return this")()).nx||require("@jswork/next");n.domain=function(n,o){o=o||1,n=n||location.host,n=new URL(n).host.split(".");return n.slice(-n.length+o).join(".")},"undefined"!=typeof module&&module.exports&&(module.exports=n.domain)}(); \ No newline at end of file