diff --git a/src/Backend/Geen.Data/Geen.Data.csproj b/src/Backend/Geen.Data/Geen.Data.csproj
index 2f469ee..47e99e9 100644
--- a/src/Backend/Geen.Data/Geen.Data.csproj
+++ b/src/Backend/Geen.Data/Geen.Data.csproj
@@ -7,7 +7,7 @@
-
+
diff --git a/src/Backend/Geen.Web/Geen.Web.csproj b/src/Backend/Geen.Web/Geen.Web.csproj
index 8610e0b..41270f7 100644
--- a/src/Backend/Geen.Web/Geen.Web.csproj
+++ b/src/Backend/Geen.Web/Geen.Web.csproj
@@ -3,15 +3,9 @@
net7.0
-
-
-
-
-
-
-
-
-
+
+
+
diff --git a/src/Backend/Geen.Web/Startup.cs b/src/Backend/Geen.Web/Startup.cs
index dfb8f24..9c72cf5 100644
--- a/src/Backend/Geen.Web/Startup.cs
+++ b/src/Backend/Geen.Web/Startup.cs
@@ -8,11 +8,6 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.OpenApi.Models;
-using OpenTelemetry.Exporter;
-using OpenTelemetry.Logs;
-using OpenTelemetry.Metrics;
-using OpenTelemetry.Resources;
-using OpenTelemetry.Trace;
namespace Geen.Web
{
@@ -52,24 +47,6 @@ public void ConfigureServices(IServiceCollection services)
"application/x-font-ttf"
};
});
-
- services.AddOpenTelemetryTracing(builder =>
- {
- builder.SetSampler(new AlwaysOnSampler())
- .ConfigureResource(r => r.AddService(
- serviceName: "Geen.Web",
- serviceInstanceId: Environment.MachineName))
- .AddHttpClientInstrumentation()
- .AddAspNetCoreInstrumentation();
-
- var uri = new Uri(settings.Tracing.Jaeger.Endpoint);
-
- builder.AddJaegerExporter(exporter =>
- {
- exporter.AgentHost = uri.Host;
- exporter.Endpoint = uri;
- });
- });
services.AddCors(options =>
{
@@ -131,7 +108,7 @@ public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
app.UseRouting();
app.UseEndpoints(routes =>
{
- routes.MapAreaControllerRoute("areaRoute", "areaRoute", "api/{area:exists}/{controller}/{action}/{id?}");
+ routes.MapAreaControllerRoute("areaRoute", "Admin", "api/{area:exists}/{controller}/{action}/{id?}");
routes.MapControllerRoute("default","{controller=Home}/{action=Index}/{id?}");
routes.MapFallbackToFile("index.html");