Skip to content

Commit 529f296

Browse files
authored
Merge pull request #3 from tsvx/patch-1
Help swagger to work behind a reverse proxy
2 parents e0908e7 + cce4c68 commit 529f296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProjectTemplates/ReferenceProject/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public static class Constants
44
{
55
public static class Swagger
66
{
7-
public static string EndPoint => $"/swagger/{Version}/swagger.json";
7+
public static string EndPoint => $"../swagger/{Version}/swagger.json";
88
public static string ApiName => "My API";
99
public static string Version => "v1";
1010
}

0 commit comments

Comments
 (0)