Skip to content

Commit

Permalink
feat: 接口前缀更改为api
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Oct 30, 2023
1 parent 7e2e725 commit 1f40a50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/cmd/power/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
func metaServer() {
engine := httpd.Engine(false)

engine.GET("/tdp/ps", ps)
engine.GET("/tdp/meta", meta)
engine.GET("/api/ps", ps)
engine.GET("/api/meta", meta)

engine.NoRoute(forward())

Expand Down

0 comments on commit 1f40a50

Please sign in to comment.