Skip to content

Commit

Permalink
use new api path
Browse files Browse the repository at this point in the history
  • Loading branch information
CADawg committed Mar 17, 2024
1 parent c5a3218 commit 04c0bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func main() {
app.OnBeforeServe().Add(func(e *core.ServeEvent) error {
_, err := e.Router.AddRoute(echo.Route{
Method: http.MethodGet,
Path: "/api/v1/get_config",
Path: "/api/custom/v1/get_config",
Handler: func(c echo.Context) error {
// get key from auth header
key := c.Request().Header.Get("Authorization")
Expand Down

0 comments on commit 04c0bee

Please sign in to comment.