diff --git a/mixtape.Raven/mixtape.Raven.csproj b/mixtape.Raven/mixtape.Raven.csproj index 6df86131..afcd8b1e 100644 --- a/mixtape.Raven/mixtape.Raven.csproj +++ b/mixtape.Raven/mixtape.Raven.csproj @@ -17,7 +17,7 @@ - + \ No newline at end of file diff --git a/mixtape.Sqlite/mixtape.Sqlite.csproj b/mixtape.Sqlite/mixtape.Sqlite.csproj index 3e0c9e67..61ccf4f7 100644 --- a/mixtape.Sqlite/mixtape.Sqlite.csproj +++ b/mixtape.Sqlite/mixtape.Sqlite.csproj @@ -15,7 +15,7 @@ - + \ No newline at end of file diff --git a/mixtape/Frontend/ViteScriptTagHelper.cs b/mixtape/Frontend/ViteScriptTagHelper.cs index e715ba93..a5de24a0 100644 --- a/mixtape/Frontend/ViteScriptTagHelper.cs +++ b/mixtape/Frontend/ViteScriptTagHelper.cs @@ -26,10 +26,7 @@ public class ViteScriptTagHelper(IWebHostEnvironment env, IMixtapeOptions option return; } - int? viteProxyPort = 5123; -#if DEBUG - viteProxyPort = options.For().Port; -#endif + int? viteProxyPort = options.For().Port; HttpRequest request = ViewContext.HttpContext.Request; string fullPath = $"{request.Scheme}://{request.Host.Host}:{viteProxyPort}/{Src}";