浏览代码

Run in development mode by default from Visual Studio

Mark Monteiro 5 年之前
父节点
当前提交
41de0bd245
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      Jellyfin.Server/Properties/launchSettings.json

+ 7 - 1
Jellyfin.Server/Properties/launchSettings.json

@@ -1,10 +1,16 @@
 {
   "profiles": {
     "Jellyfin.Server": {
-      "commandName": "Project"
+      "commandName": "Project",
+      "environmentVariables": {
+        "ASPNETCORE_ENVIRONMENT": "Development"
+      }
     },
     "Jellyfin.Server (nowebclient)": {
       "commandName": "Project",
+      "environmentVariables": {
+        "ASPNETCORE_ENVIRONMENT": "Development"
+      },
       "commandLineArgs": "--nowebclient"
     }
   }