From c8ff3c592150169dc2818b6011e60c24f5d753af Mon Sep 17 00:00:00 2001 From: miyaji255 <84168445+miyaji255@users.noreply.github.com> Date: Sun, 25 Feb 2024 10:43:51 +0900 Subject: [PATCH] =?UTF-8?q?=E8=A8=B1=E5=8F=AFURL=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KoeBook/ViewModels/MainViewModel.cs | 3 ++- KoeBook/Views/MainPage.xaml | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/KoeBook/ViewModels/MainViewModel.cs b/KoeBook/ViewModels/MainViewModel.cs index bda5ed5..912ad60 100644 --- a/KoeBook/ViewModels/MainViewModel.cs +++ b/KoeBook/ViewModels/MainViewModel.cs @@ -153,7 +153,8 @@ static bool IsValid(string? value) if (string.IsNullOrEmpty(value)) return true; ReadOnlySpan allowedOrigins = [ - "https://www.aozora.gr.jp" + "https://www.aozora.gr.jp", + "https://syosetu.com", ]; try diff --git a/KoeBook/Views/MainPage.xaml b/KoeBook/Views/MainPage.xaml index 15af6f8..fcaecb5 100644 --- a/KoeBook/Views/MainPage.xaml +++ b/KoeBook/Views/MainPage.xaml @@ -54,15 +54,15 @@ --> - + + PlaceholderText="https://www.aozora.gr.jp"/>