From 5760a5e0e5af2cd9759de1b46eee2e15b06a7942 Mon Sep 17 00:00:00 2001 From: Heiner Wolf Date: Sun, 4 Feb 2024 19:40:58 +0100 Subject: [PATCH 1/8] banana software (customer prinf debugging) --- code/galdevweb/GaldevWeb/Pages/Blog.cshtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/galdevweb/GaldevWeb/Pages/Blog.cshtml b/code/galdevweb/GaldevWeb/Pages/Blog.cshtml index 0230d86f..c191857b 100644 --- a/code/galdevweb/GaldevWeb/Pages/Blog.cshtml +++ b/code/galdevweb/GaldevWeb/Pages/Blog.cshtml @@ -125,3 +125,5 @@ } @await Html.PartialAsync("_MarkdownConverterPartial") + +@ImageBaseUrl \ No newline at end of file From be938c2d6cfa8893b71f1b786cf93b7a1c5fd93f Mon Sep 17 00:00:00 2001 From: Heiner Wolf Date: Sun, 4 Feb 2024 19:56:57 +0100 Subject: [PATCH 2/8] bs --- code/galdevweb/GaldevWeb/Pages/Blog.cshtml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/galdevweb/GaldevWeb/Pages/Blog.cshtml b/code/galdevweb/GaldevWeb/Pages/Blog.cshtml index c191857b..e0128c6e 100644 --- a/code/galdevweb/GaldevWeb/Pages/Blog.cshtml +++ b/code/galdevweb/GaldevWeb/Pages/Blog.cshtml @@ -126,4 +126,8 @@ @await Html.PartialAsync("_MarkdownConverterPartial") -@ImageBaseUrl \ No newline at end of file + \ No newline at end of file From 6f81c9c107abe8cfd45275ee503b69ed6efccdf7 Mon Sep 17 00:00:00 2001 From: Heiner Wolf Date: Sun, 4 Feb 2024 20:05:07 +0100 Subject: [PATCH 3/8] bs --- code/galdevweb/GaldevWeb/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/galdevweb/GaldevWeb/Program.cs b/code/galdevweb/GaldevWeb/Program.cs index c558e60c..6dd221e6 100644 --- a/code/galdevweb/GaldevWeb/Program.cs +++ b/code/galdevweb/GaldevWeb/Program.cs @@ -59,6 +59,10 @@ public static void Main(string[] args) var app = builder.Build(); + app.UseForwardedHeaders(new ForwardedHeadersOptions { + ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto + }); + //if (!app.Environment.IsDevelopment()) { // app.UseExceptionHandler("/Error"); //} @@ -90,10 +94,6 @@ public static void Main(string[] args) endpoints.MapControllers(); }); - app.UseForwardedHeaders(new ForwardedHeadersOptions { - ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto - }); - app.Run(); } } From 0161181bb20a6a137ca1c39fcef94d76c1a39b1a Mon Sep 17 00:00:00 2001 From: Heiner Wolf Date: Sun, 4 Feb 2024 20:10:09 +0100 Subject: [PATCH 4/8] bs --- code/galdevweb/GaldevWeb/Pages/Blog.cshtml | 2 ++ code/galdevweb/GaldevWeb/Program.cs | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/code/galdevweb/GaldevWeb/Pages/Blog.cshtml b/code/galdevweb/GaldevWeb/Pages/Blog.cshtml index e0128c6e..cb59568d 100644 --- a/code/galdevweb/GaldevWeb/Pages/Blog.cshtml +++ b/code/galdevweb/GaldevWeb/Pages/Blog.cshtml @@ -126,6 +126,8 @@ @await Html.PartialAsync("_MarkdownConverterPartial") +
@ImageBaseUrl
+