aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ExamTemplate/Web/Properties/launchSettings.json2
-rw-r--r--README.md13
2 files changed, 13 insertions, 2 deletions
diff --git a/ExamTemplate/Web/Properties/launchSettings.json b/ExamTemplate/Web/Properties/launchSettings.json
index 9bcdafd..080115b 100644
--- a/ExamTemplate/Web/Properties/launchSettings.json
+++ b/ExamTemplate/Web/Properties/launchSettings.json
@@ -18,7 +18,7 @@
"Web": {
"commandName": "Project",
"launchBrowser": true,
- "applicationUrl": "https://localhost:5001;http://localhost:5000",
+ "applicationUrl": "http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
diff --git a/README.md b/README.md
index b949e7d..a7c82f7 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,14 @@
# IT-kariera Exam Template
-A template that could be useful for the final IT-kariera exam in 2021 \ No newline at end of file
+A template that could be useful for the final IT-kariera exam in 2021
+
+## Notes
+
+There are some configs that I've made that you may want to revert. This section explains them.
+
+### Disabled HTTPS
+
+Disabled, since certificates could cause issues on some systems. To revert:
+1. Add `app.UseHttpsRedirection();` in the `Configure` method, inside `ExamTemplate/Web/Startup.cs`
+2. Add `https://localhost:5001;` in `"applicationUrl"` in the `Web` section, inside `ExamTemplate/Web/Properties/launchSettings.json`.
+ So, line 21 in the `launchSettings.json` file should look like: `"applicationUrl": "https://localhost:5001;http://localhost:5000",`