Skip to content

Commit

Permalink
Change to localhost http
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Sep 9, 2023
1 parent 3ea304e commit 77ad8a2
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion samples/Exceptionless.SampleAspNetCore/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Exceptionless": {
"ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest",
"ServerUrl": "https://localhost:5201",
"ServerUrl": "http://localhost:5200",
"DefaultData": {
"JSON_OBJECT": "{ \"Name\": \"Blake\" }",
"Boolean": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;

ExceptionlessClient.Default.Configuration.ServerUrl = "https://localhost:5201";
ExceptionlessClient.Default.Configuration.ServerUrl = "http://localhost:5200";
ExceptionlessClient.Default.Startup("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest");

var builder = WebAssemblyHostBuilder.CreateDefault(args);
Expand Down
2 changes: 1 addition & 1 deletion samples/Exceptionless.SampleConsole/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using LogLevel = Exceptionless.Logging.LogLevel;

// example of setting an attribute value in config.
[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "https://localhost:5201")]
[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "http://localhost:5200")]
[assembly: ExceptionlessSetting("EnableWelcomeMessage", "True")]

namespace Exceptionless.SampleConsole {
Expand Down
2 changes: 1 addition & 1 deletion samples/Exceptionless.SampleHosting/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Exceptionless": {
"ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest",
"ServerUrl": "https://localhost:5201",
"ServerUrl": "http://localhost:5200",
"DefaultData": {
"JSON_OBJECT": "{ \"Name\": \"Blake\" }",
"Boolean": true,
Expand Down
2 changes: 1 addition & 1 deletion samples/Exceptionless.SampleLambda/Function.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public async Task<string> FunctionHandler(string input, ILambdaContext context)
{
var client = new ExceptionlessClient(c => {
c.ApiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest";
c.ServerUrl = "https://localhost:5201";
c.ServerUrl = "http://localhost:5200";
// read configuration values from environment variables
c.ReadFromEnvironmentalVariables();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Exceptionless": {
"ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest",
"ServerUrl": "https://localhost:5201",
"ServerUrl": "http://localhost:5200",
"ProcessQueueOnCompletedRequest": true,
"DefaultData": {
"JSON_OBJECT": "{ \"Name\": \"Blake\" }",
Expand Down
2 changes: 1 addition & 1 deletion samples/Exceptionless.SampleMvc/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<configuration>
<appSettings>
<add key="Exceptionless:ApiKey" value="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" />
<add key="Exceptionless:ServerUrl" value="https://localhost:5201" />
<add key="Exceptionless:ServerUrl" value="http://localhost:5200" />
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
Expand Down
2 changes: 1 addition & 1 deletion samples/Exceptionless.SampleWcf/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<section name="exceptionless" type="Exceptionless.ExceptionlessSection, Exceptionless"/>
</configSections>

<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="https://localhost:5201">
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="http://localhost:5200">
<settings>
<add name="TraceLogLimit" value="25"/>
</settings>
Expand Down
4 changes: 2 additions & 2 deletions samples/Exceptionless.SampleWeb/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<configSections>
<section name="exceptionless" type="Exceptionless.ExceptionlessSection, Exceptionless" requirePermission="false"/>
</configSections>
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="https://localhost:5201" tags="Tag1,Tag2">
<!--<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="https://localhost:5201" tags="Tag1,Tag2"
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="http://localhost:5200" tags="Tag1,Tag2">
<!--<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="http://localhost:5200" tags="Tag1,Tag2"
storageSerializer="Exceptionless.MessagePack.MessagePackStorageSerializer, Exceptionless.MessagePack"
storagePath="|DataDirectory|\Logs">-->
<settings>
Expand Down
2 changes: 1 addition & 1 deletion samples/Exceptionless.SampleWebApi/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<configSections>
<section name="exceptionless" type="Exceptionless.ExceptionlessSection, Exceptionless" />
</configSections>
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="https://localhost:5201" storagePath="|DataDirectory|\Queue">
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="http://localhost:5200" storagePath="|DataDirectory|\Queue">
<settings>
<add name="TraceLogLimit" value="30" />
</settings>
Expand Down
2 changes: 1 addition & 1 deletion samples/Exceptionless.SampleWindows/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<section name="exceptionless" type="Exceptionless.ExceptionlessSection, Exceptionless"/>
</configSections>

<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="https://localhost:5201"/>
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="http://localhost:5200"/>

<system.diagnostics>
<trace autoflush="true">
Expand Down
2 changes: 1 addition & 1 deletion samples/Exceptionless.SampleWindows/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Windows.Forms;
using Exceptionless.Configuration;

[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "https://localhost:5201")]
[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "http://localhost:5200")]

namespace Exceptionless.SampleWindows {
internal static class Program {
Expand Down
2 changes: 1 addition & 1 deletion samples/Exceptionless.SampleWpf/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
using Exceptionless.Configuration;

[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "https://localhost:5201")]
[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "http://localhost:5200")]
8 changes: 4 additions & 4 deletions test/Exceptionless.Tests/Configuration/ConfigurationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using Xunit;
using Xunit.Abstractions;

[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "https://localhost:5201")]
[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "http://localhost:5200")]
[assembly: ExceptionlessSetting("testing", "configuration")]
namespace Exceptionless.Tests.Configuration {
public class ConfigurationTests {
Expand Down Expand Up @@ -65,13 +65,13 @@ public void CanConfigureClientUsingActionMethod() {

var client = new ExceptionlessClient(c => {
c.ApiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest";
c.ServerUrl = "https://localhost:5201";
c.ServerUrl = "http://localhost:5200";
c.SetVersion(version);
c.IncludeUserName = false;
});

Assert.Equal("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", client.Configuration.ApiKey);
Assert.Equal("https://localhost:5201", client.Configuration.ServerUrl);
Assert.Equal("http://localhost:5200", client.Configuration.ServerUrl);
Assert.Equal(version, client.Configuration.DefaultData[Event.KnownDataKeys.Version].ToString());

Assert.True(client.Configuration.IncludePrivateInformation);
Expand All @@ -92,7 +92,7 @@ public void CanReadFromAttributes() {

config.ReadFromAttributes(typeof(ConfigurationTests).GetTypeInfo().Assembly);
Assert.Equal("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", config.ApiKey);
Assert.Equal("https://localhost:5201", config.ServerUrl);
Assert.Equal("http://localhost:5200", config.ServerUrl);
Assert.Single(config.Settings);
Assert.Equal("configuration", config.Settings["testing"]);
}
Expand Down
2 changes: 1 addition & 1 deletion test/Exceptionless.Tests/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<section name="exceptionless" type="Exceptionless.ExceptionlessSection, Exceptionless" />
</configSections>

<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="https://localhost:5201" enabled="true">
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="http://localhost:5200" enabled="true">
<settings>
<add name="TraceLogLimit" value="30" />
</settings>
Expand Down

0 comments on commit 77ad8a2

Please sign in to comment.