🍣 typo fixes

This commit is contained in:
Shiba 2022-01-10 00:09:15 +00:00
parent 06524954e7
commit 5396936586
2 changed files with 4 additions and 4 deletions

View file

@ -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: {

View file

@ -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))