From 7c208f5d3eb73c4afdb3df2a0400c5802a0ade10 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Mon, 21 Dec 2020 21:47:08 +0100 Subject: [PATCH] fix oopsie --- Pages/Index.cshtml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Pages/Index.cshtml.cs b/Pages/Index.cshtml.cs index c4411aa..ec84254 100644 --- a/Pages/Index.cshtml.cs +++ b/Pages/Index.cshtml.cs @@ -24,6 +24,9 @@ namespace webmusic.Pages { Response.Redirect("/Error"); return; } + + if (Path.EndsWith(".m3u")) + Path = Path.Substring(0, Path.Length - 4); if (Path.EndsWith(".lrc")) return;