Update index.js
This commit is contained in:
parent
135653ddef
commit
60b93be07e
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -25,7 +25,7 @@ async function buildCache(host) {
|
||||||
throw new Error(url + ' in TXT record is not an absolute URL');
|
throw new Error(url + ' in TXT record is not an absolute URL');
|
||||||
}
|
}
|
||||||
if (url.endsWith('*')) {
|
if (url.endsWith('*')) {
|
||||||
url = url.substr(0, -1);
|
url = url.slice(0, -1);
|
||||||
expand = true;
|
expand = true;
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue