summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/SMAPI.Web/Framework/ClientPlatformDetection/ClientPlatformMiddleware.cs (renamed from src/SMAPI.Web/Framework/UserAgentParsing/ClientPlatformMiddleware.cs)2
-rw-r--r--src/SMAPI.Web/Framework/ClientPlatformDetection/ClientPlatformMiddlewareExtensions.cs (renamed from src/SMAPI.Web/Framework/UserAgentParsing/ClientPlatformMiddlewareExtensions.cs)2
-rw-r--r--src/SMAPI.Web/Framework/ClientPlatformDetection/Platform.cs (renamed from src/SMAPI.Web/Framework/UserAgentParsing/Platform.cs)2
-rw-r--r--src/SMAPI.Web/Startup.cs2
-rw-r--r--src/SMAPI.Web/Views/LogParser/Index.cshtml2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/SMAPI.Web/Framework/UserAgentParsing/ClientPlatformMiddleware.cs b/src/SMAPI.Web/Framework/ClientPlatformDetection/ClientPlatformMiddleware.cs
index d056d85c..2430d239 100644
--- a/src/SMAPI.Web/Framework/UserAgentParsing/ClientPlatformMiddleware.cs
+++ b/src/SMAPI.Web/Framework/ClientPlatformDetection/ClientPlatformMiddleware.cs
@@ -1,7 +1,7 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
-namespace StardewModdingAPI.Web.Framework.UserAgentParsing
+namespace StardewModdingAPI.Web.Framework.ClientPlatformDetection
{
/// <summary>Middleware that detects the client's platform.</summary>
public class ClientPlatformMiddleware
diff --git a/src/SMAPI.Web/Framework/UserAgentParsing/ClientPlatformMiddlewareExtensions.cs b/src/SMAPI.Web/Framework/ClientPlatformDetection/ClientPlatformMiddlewareExtensions.cs
index 4ac2ebfa..274e5486 100644
--- a/src/SMAPI.Web/Framework/UserAgentParsing/ClientPlatformMiddlewareExtensions.cs
+++ b/src/SMAPI.Web/Framework/ClientPlatformDetection/ClientPlatformMiddlewareExtensions.cs
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Builder;
-namespace StardewModdingAPI.Web.Framework.UserAgentParsing
+namespace StardewModdingAPI.Web.Framework.ClientPlatformDetection
{
/// <summary>Extension methods for the client platform middleware.</summary>
internal static class ClientPlatformMiddlewareExtensions
diff --git a/src/SMAPI.Web/Framework/UserAgentParsing/Platform.cs b/src/SMAPI.Web/Framework/ClientPlatformDetection/Platform.cs
index 07a247cb..2fe1d324 100644
--- a/src/SMAPI.Web/Framework/UserAgentParsing/Platform.cs
+++ b/src/SMAPI.Web/Framework/ClientPlatformDetection/Platform.cs
@@ -1,4 +1,4 @@
-namespace StardewModdingAPI.Web.Framework.UserAgentParsing
+namespace StardewModdingAPI.Web.Framework.ClientPlatformDetection
{
/// <summary>A software platform.</summary>
public enum Platform
diff --git a/src/SMAPI.Web/Startup.cs b/src/SMAPI.Web/Startup.cs
index 04ec47a6..e12fa63b 100644
--- a/src/SMAPI.Web/Startup.cs
+++ b/src/SMAPI.Web/Startup.cs
@@ -15,6 +15,7 @@ using StardewModdingAPI.Web.Framework;
using StardewModdingAPI.Web.Framework.Caching;
using StardewModdingAPI.Web.Framework.Caching.Mods;
using StardewModdingAPI.Web.Framework.Caching.Wiki;
+using StardewModdingAPI.Web.Framework.ClientPlatformDetection;
using StardewModdingAPI.Web.Framework.Clients.Chucklefish;
using StardewModdingAPI.Web.Framework.Clients.GitHub;
using StardewModdingAPI.Web.Framework.Clients.ModDrop;
@@ -23,7 +24,6 @@ using StardewModdingAPI.Web.Framework.Clients.Pastebin;
using StardewModdingAPI.Web.Framework.Compression;
using StardewModdingAPI.Web.Framework.ConfigModels;
using StardewModdingAPI.Web.Framework.RewriteRules;
-using StardewModdingAPI.Web.Framework.UserAgentParsing;
namespace StardewModdingAPI.Web
{
diff --git a/src/SMAPI.Web/Views/LogParser/Index.cshtml b/src/SMAPI.Web/Views/LogParser/Index.cshtml
index 0dca003b..7f8036db 100644
--- a/src/SMAPI.Web/Views/LogParser/Index.cshtml
+++ b/src/SMAPI.Web/Views/LogParser/Index.cshtml
@@ -1,6 +1,6 @@
@using Newtonsoft.Json
+@using StardewModdingAPI.Web.Framework.ClientPlatformDetection
@using StardewModdingAPI.Web.Framework.LogParsing.Models
-@using StardewModdingAPI.Web.Framework.UserAgentParsing
@model StardewModdingAPI.Web.ViewModels.LogParserModel
@{