forked from zotan/webmusic
update to net50
This commit is contained in:
parent
c8ad99cd79
commit
193cc39ce2
|
@ -2,7 +2,7 @@
|
||||||
@using System.Web
|
@using System.Web
|
||||||
@model IndexModel
|
@model IndexModel
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "webmusic";
|
ViewData["Title"] = $"webmusic on .NET {Environment.Version}";
|
||||||
var path = HttpUtility.UrlDecode(Request.QueryString.Value.TrimStart('?'));
|
var path = HttpUtility.UrlDecode(Request.QueryString.Value.TrimStart('?'));
|
||||||
if (path.EndsWith(".m3u"))
|
if (path.EndsWith(".m3u"))
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<title>Music</title>
|
<title>@ViewData["Title"]</title>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
|
||||||
<link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono" rel="stylesheet">
|
||||||
<script src="/howler.core.js"></script>
|
<script src="/howler.core.js"></script>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"webmusic": {
|
"webmusic": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"launchBrowser": true,
|
"launchBrowser": false,
|
||||||
"applicationUrl": "http://localhost:5000",
|
"applicationUrl": "http://localhost:5000",
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>net50</TargetFramework>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue