mirror of
https://github.com/LBRYFoundation/Watch-on-LBRY.git
synced 2025-08-23 17:47:26 +00:00
🍣 typo fixes
This commit is contained in:
parent
06524954e7
commit
5396936586
2 changed files with 4 additions and 4 deletions
|
@ -73,8 +73,8 @@ export const getTargetPlatfromSettingsEntiries = () =>
|
|||
|
||||
|
||||
|
||||
export type SourcePlatfromName = 'youtube.com' | 'yewtu.be'
|
||||
export interface SourcePlatfrom
|
||||
export type SourcePlatformName = 'youtube.com' | 'yewtu.be'
|
||||
export interface SourcePlatform
|
||||
{
|
||||
hostnames: string[]
|
||||
htmlQueries: {
|
||||
|
@ -83,7 +83,7 @@ export interface SourcePlatfrom
|
|||
}
|
||||
}
|
||||
|
||||
export const sourcePlatfromSettings: Record<SourcePlatfromName, SourcePlatfrom> = {
|
||||
export const sourcePlatfromSettings: Record<SourcePlatformName, SourcePlatform> = {
|
||||
"yewtu.be": {
|
||||
hostnames: ['yewtu.be'],
|
||||
htmlQueries: {
|
||||
|
|
|
@ -126,7 +126,7 @@ window.addEventListener('load', async () =>
|
|||
// Listen URL Change
|
||||
chrome.runtime.onMessage.addListener(onUrlChange)
|
||||
|
||||
// We should get this from background, so the caching works and we don't get erros in the future if yt decides to impliment CORS
|
||||
// We should get this from background, so the caching works and we don't get errors in the future if yt decides to impliment CORS
|
||||
async function requestLbryPathname(videoId: string)
|
||||
{
|
||||
return await new Promise<string | null>((resolve) => chrome.runtime.sendMessage({ videoId }, resolve))
|
||||
|
|
Loading…
Add table
Reference in a new issue