From 5504d91721ebce0e1de46c8c02fdc260d1cbda60 Mon Sep 17 00:00:00 2001 From: Jay Malhotra Date: Wed, 9 Oct 2024 21:50:32 +0100 Subject: [PATCH] Smaller news fixes - Fix webview ingame returning 404 - Fix unlabelled graphics document in news pages --- .../DragaliaAPI/Features/Webview/WebviewVersionController.cs | 2 +- Website/src/routes/(main)/news/pagination.svelte | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DragaliaAPI/DragaliaAPI/Features/Webview/WebviewVersionController.cs b/DragaliaAPI/DragaliaAPI/Features/Webview/WebviewVersionController.cs index 597aac2ff..fc0341090 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Webview/WebviewVersionController.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Webview/WebviewVersionController.cs @@ -29,7 +29,7 @@ public DragaliaResult UrlList() // new("time_attack_reward", this.GetUrl("timeattack/rewards/webview")); // TODO: Remove hardcoding. Consider making URLs configurable? - AtgenWebviewUrlList news = new("information", this.GetUrl("webview/news/1")); + AtgenWebviewUrlList news = new("information", this.GetUrl("webview/news")); return this.Ok( new WebviewVersionUrlListResponse( diff --git a/Website/src/routes/(main)/news/pagination.svelte b/Website/src/routes/(main)/news/pagination.svelte index dca37d916..8f04d4f3b 100644 --- a/Website/src/routes/(main)/news/pagination.svelte +++ b/Website/src/routes/(main)/news/pagination.svelte @@ -23,7 +23,7 @@
{#if currentPage > 1} {:else} @@ -35,7 +35,7 @@ {#if currentPage < numPages} {:else}