Skip to content

Commit

Permalink
fix(proxy): remove kong branding in kong HTML error template
Browse files Browse the repository at this point in the history
Signed-off-by: owl <[email protected]>
  • Loading branch information
oowl committed Jun 29, 2023
1 parent 9281b4d commit 2225986
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions kong/tools/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1422,10 +1422,10 @@ do
<html>
<head>
<meta charset="utf-8">
<title>Kong Error</title>
<title>Error</title>
</head>
<body>
<h1>Kong Error</h1>
<h1>Error</h1>
<p>%s.</p>
</body>
</html>
Expand Down
4 changes: 2 additions & 2 deletions spec/02-integration/05-proxy/12-error_default_type_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ local HTML_TEMPLATE = [[
<html>
<head>
<meta charset="utf-8">
<title>Kong Error</title>
<title>Error</title>
</head>
<body>
<h1>Kong Error</h1>
<h1>Error</h1>
<p>%s.</p>
</body>
</html>]]
Expand Down
8 changes: 4 additions & 4 deletions t/01-pdk/08-response/13-error.t
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ Content-Type: text/html; charset=utf-8
<html>
<head>
<meta charset="utf-8">
<title>Kong Error</title>
<title>Error</title>
</head>
<body>
<h1>Kong Error</h1>
<h1>Error</h1>
<p>An invalid response was received from the upstream server.</p>
</body>
</html>
Expand Down Expand Up @@ -475,10 +475,10 @@ Content-Type: text/html; charset=utf-8
<html>
<head>
<meta charset="utf-8">
<title>Kong Error</title>
<title>Error</title>
</head>
<body>
<h1>Kong Error</h1>
<h1>Error</h1>
<p>An invalid response was received from the upstream server.</p>
</body>
</html>
Expand Down

0 comments on commit 2225986

Please sign in to comment.