Skip to content

Commit 6c05615

Browse files
fix typo's & colour correction
1 parent 56be175 commit 6c05615

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

handlers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ func homeHandler(c echo.Context) error {
1313

1414
// Handler: Second | Handler send to second page
1515
func secondHandler(c echo.Context) error {
16-
Debugf("Publishing the home page")
16+
Debugf("Publishing the second page")
1717
return c.Render(http.StatusUnauthorized, "second.html", "")
1818
}
1919

2020
// Handler: Api | Handler that serves the API data
2121
func apiHandler(c echo.Context) error {
22-
Debugf("Publishing the home page")
22+
Debugf("Publishing the api")
2323
return c.JSON(http.StatusOK, map[string]string{
2424
`key1`: `value1`,
2525
`key2`: `value2`,

public/views/404.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
<body>
88
<h1> Are you lost !!! </h1>
99
<p> Click here to go to </p>
10-
<button onclick="window.location='/'">
10+
<button onclick="window.location='/'" style="background-color: teal">
1111
VueJS Home Page
1212
</button>
13-
<button onclick="window.location='/backendhome'">
13+
<button onclick="window.location='/backendhome'" style="background-color: lightblue">
1414
Backend Home Page
1515
</button>
1616
</body>

public/views/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1> Welcome to Go Home !!! </h1>
1313
<button onclick="window.location='/'" style="background-color: teal">
1414
VueJS Home Page
1515
</button>
16-
<button onclick="window.location='/backendapi'" style="background-color: teal">
16+
<button onclick="window.location='/backendapi'" style="background-color: lightblue">
1717
Backend API
1818
</button>
1919
</body>

0 commit comments

Comments
 (0)