Improve feed loader, wait for db before executing reads/updates, make taskQueue subscribable, add race, rename auth methods, fix failed wasm verify, fix localhost urls
This commit is contained in:
@@ -33,8 +33,8 @@ export const isRelayUrl = (url: string) => {
|
||||
// Skip urls with a slash before the dot
|
||||
if (url.match(/\\.*\./)) return false
|
||||
|
||||
// Skip urls without a dot
|
||||
if (!url.match(/\./)) return false
|
||||
// Skip non-localhost urls without a dot
|
||||
if (!url.match(/\./) && !url.includes('localhost')) return false
|
||||
|
||||
try {
|
||||
new URL(url)
|
||||
|
||||
Reference in New Issue
Block a user