Skip to content

Commit

Permalink
change feedback path to specify application name
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Oct 15, 2024
1 parent 5dda76f commit 51900cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/FwLite/LocalWebApp/Routes/FeedbackRoute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public static class FeedbackRoute
{
public static void MapFeedbackRoutes(this IEndpointRouteBuilder endpoints)
{
endpoints.MapGet("/api/feedback", () =>
endpoints.MapGet("/api/feedback/fw-lite", () =>
{
var version = "alpha";
var os = Environment.OSVersion.Platform switch
Expand Down
2 changes: 1 addition & 1 deletion backend/LexBoxApi/Controllers/FeedbackController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace LexBoxApi.Controllers;
[Route("/api/feedback")]
public class FeedbackController() : ControllerBase
{
[HttpGet]
[HttpGet("fw-lite")]
public IResult RedirectToFieldWorksLiteFeedbackForm()
{
var version = "alpha";
Expand Down
2 changes: 1 addition & 1 deletion frontend/viewer/src/ProjectView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
{/if}
{#if $features.feedback}
<Button
href="/api/feedback"
href="/api/feedback/fw-lite"
target="_blank"
size="sm"
variant="outline"
Expand Down

0 comments on commit 51900cc

Please sign in to comment.