Browse Source

Run in development mode by default from Visual Studio

Mark Monteiro 5 years ago
parent
commit
41de0bd245
1 changed files with 7 additions and 1 deletions
  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"
     }
   }