From 52d4222b5e56ee2c34e810de82e3adc13363d602 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sat, 1 Jul 2023 23:00:24 -0400 Subject: [PATCH] Remove a couple of TODOs --- .../src/components/WebServer/Middleware/InvidiousRouter.bs | 1 - playlet-web/src/lib/LinkDragDrop.svelte | 1 - 2 files changed, 2 deletions(-) diff --git a/playlet-lib/src/components/WebServer/Middleware/InvidiousRouter.bs b/playlet-lib/src/components/WebServer/Middleware/InvidiousRouter.bs index b4f31d15..51031bdc 100644 --- a/playlet-lib/src/components/WebServer/Middleware/InvidiousRouter.bs +++ b/playlet-lib/src/components/WebServer/Middleware/InvidiousRouter.bs @@ -19,7 +19,6 @@ namespace Http token = request.query["token"].DecodeUri().DecodeUriComponent() referer = request.query["ref"].DecodeUri() username = request.query["username"] - ' TODO: remove null check after 6 months of https://github.com/iv-org/invidious/pull/3603 if username <> invalid username = username.DecodeUriComponent().DecodeUriComponent() end if diff --git a/playlet-web/src/lib/LinkDragDrop.svelte b/playlet-web/src/lib/LinkDragDrop.svelte index 02675af1..469df7b2 100644 --- a/playlet-web/src/lib/LinkDragDrop.svelte +++ b/playlet-web/src/lib/LinkDragDrop.svelte @@ -103,7 +103,6 @@ } // Share/Short url - // TODO: use regex, and support timestamped videos const YoutubeUrls = [ "https://youtu.be/", "http://youtu.be/",