From 9000f940c89e1cfa35f959f2aefd7b748eddc1ce Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 6 May 2021 18:24:20 +0300 Subject: Disabled HTTPS and added a note in README --- ExamTemplate/Web/Properties/launchSettings.json | 2 +- README.md | 13 ++++++++++++- 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",` -- cgit v1.2.3