We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Добавить поддержку ссылки vk.me
The text was updated successfully, but these errors were encountered:
problem source:
vk-io/packages/vk-io/src/utils/resource-resolver.ts
Line 26 in 7ed951f
com
(?:com|me)
const isVKUrlRe = /^(?:https?:\/\/)?(?:m\.)?vk\.(?:com|me)\//i;
(плюсом в данной регулярке ещё зафиксил http[s] и экранировал точку здесь: vk\.(?:com|me))
vk\.(?:com|me)
upd. apparently, vk.ru теперь тоже валидный домен, поэтому:
const isVKUrlRe = /^(?:https?:\/\/)?(?:m\.)?vk\.(?:com|me|ru)\//i;
upd. fixed in #513
@negezor
Sorry, something went wrong.
No branches or pull requests
Добавить поддержку ссылки vk.me
The text was updated successfully, but these errors were encountered: