commit | 53e65b470e100420d96fa8f69bb43966b516b081 | [log] [tgz] |
---|---|---|
author | i7guokui <i7guokui@foxmail.com> | Thu Oct 19 11:26:09 2023 +0800 |
committer | GitHub <noreply@github.com> | Thu Oct 19 11:26:09 2023 +0800 |
tree | 987e260a80d9f21c11dd2383aa4f3fd9732d3406 | |
parent | e148944f50b6629782d6af5ceeba92fa03a6cdf7 [diff] |
fix: reading property from null (#116)
diff --git a/src/performance/fmp.ts b/src/performance/fmp.ts index 7c610c3..7241af1 100644 --- a/src/performance/fmp.ts +++ b/src/performance/fmp.ts
@@ -141,9 +141,9 @@ let url: string = ''; if (match && match[1]) { url = match[1]; - } - if (!url.includes('http')) { - url = location.protocol + match[1]; + if (!url.includes('http')) { + url = location.protocol + match[1]; + } } time = this.entries[url]; }