File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ func homeHandler(c echo.Context) error {
13
13
14
14
// Handler: Second | Handler send to second page
15
15
func secondHandler (c echo.Context ) error {
16
- Debugf ("Publishing the home page" )
16
+ Debugf ("Publishing the second page" )
17
17
return c .Render (http .StatusUnauthorized , "second.html" , "" )
18
18
}
19
19
20
20
// Handler: Api | Handler that serves the API data
21
21
func apiHandler (c echo.Context ) error {
22
- Debugf ("Publishing the home page " )
22
+ Debugf ("Publishing the api " )
23
23
return c .JSON (http .StatusOK , map [string ]string {
24
24
`key1` : `value1` ,
25
25
`key2` : `value2` ,
Original file line number Diff line number Diff line change 7
7
< body >
8
8
< h1 > Are you lost !!! </ h1 >
9
9
< p > Click here to go to </ p >
10
- < button onclick ="window.location='/' ">
10
+ < button onclick ="window.location='/' " style =" background-color: teal " >
11
11
VueJS Home Page
12
12
</ button >
13
- < button onclick ="window.location='/backendhome' ">
13
+ < button onclick ="window.location='/backendhome' " style =" background-color: lightblue " >
14
14
Backend Home Page
15
15
</ button >
16
16
</ body >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ <h1> Welcome to Go Home !!! </h1>
13
13
< button onclick ="window.location='/' " style ="background-color: teal ">
14
14
VueJS Home Page
15
15
</ button >
16
- < button onclick ="window.location='/backendapi' " style ="background-color: teal ">
16
+ < button onclick ="window.location='/backendapi' " style ="background-color: lightblue ">
17
17
Backend API
18
18
</ button >
19
19
</ body >
You can’t perform that action at this time.
0 commit comments