KIM-JINO5 2 bulan lalu
induk
melakukan
0a5105e98a

+ 24 - 22
Admin/Properties/launchSettings.json

@@ -1,25 +1,27 @@
 {
 {
-  "profiles": {
-    "http": {
-      "commandName": "Project",
-      "launchBrowser": true,
-      "environmentVariables": {
-        "ASPNETCORE_ENVIRONMENT": "Development"
-      },
-      "dotnetRunMessages": true,
-      //"applicationUrl": "http://localhost:5033",
-      "hotReloadEnabled": true
+    "profiles": {
+        "http": {
+            "commandName": "Project",
+            "launchBrowser": true,
+            "environmentVariables": {
+                "ASPNETCORE_ENVIRONMENT": "Development",
+                "ASPNETCORE_URLS": ""
+            },
+            "dotnetRunMessages": true,
+            "applicationUrl": "http://localhost:5033",
+            "hotReloadEnabled": true
+        },
+        "https": {
+            "commandName": "Project",
+            "launchBrowser": true,
+            "environmentVariables": {
+                "ASPNETCORE_ENVIRONMENT": "Development",
+                "ASPNETCORE_URLS": ""
+            },
+            "dotnetRunMessages": true,
+            "applicationUrl": "https://localhost:7205;http://localhost:5033",
+            "hotReloadEnabled": true
+        }
     },
     },
-    "https": {
-      "commandName": "Project",
-      "launchBrowser": true,
-      "environmentVariables": {
-        "ASPNETCORE_ENVIRONMENT": "Development"
-      },
-      "dotnetRunMessages": true,
-      //"applicationUrl": "https://localhost:7205;http://localhost:5033",
-      "hotReloadEnabled": true
-    }
-  },
-  "$schema": "https://json.schemastore.org/launchsettings.json"
+    "$schema": "https://json.schemastore.org/launchsettings.json"
 }
 }

+ 3 - 2
Web.Api/Properties/launchSettings.json

@@ -4,9 +4,10 @@
             "commandName": "Project",
             "commandName": "Project",
             "launchBrowser": true,
             "launchBrowser": true,
             "environmentVariables": {
             "environmentVariables": {
-                "ASPNETCORE_ENVIRONMENT": "Development"
+                "ASPNETCORE_ENVIRONMENT": "Development",
+                "ASPNETCORE_URLS": ""
             },
             },
-            //"applicationUrl": "https://localhost:4000"
+            "applicationUrl": "https://localhost:4000"
         }
         }
     }
     }
 }
 }

+ 8 - 0
Web.Api/appsettings.Development.json

@@ -1,4 +1,12 @@
 {
 {
+    "Kestrel": {
+        "Endpoints": {
+            "Http": {
+                "Url": "http://localhost:4000"
+            }
+        }
+    },
+
     "App": {
     "App": {
         "Name": "bitForum API",
         "Name": "bitForum API",
         "Company": "PLAYR",
         "Company": "PLAYR",