Add attendance id resp for event join api, set root api to /app/api/v1
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -28,7 +28,7 @@ import (
|
||||
// @license.name Apache 2.0
|
||||
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
// @host localhost:8000
|
||||
// @BasePath /api/v1
|
||||
// @BasePath /app/api/v1
|
||||
// @schemes http https
|
||||
func Start(ctx context.Context) {
|
||||
if !viper.GetBool("server.debug_mode") {
|
||||
@@ -46,7 +46,7 @@ func Start(ctx context.Context) {
|
||||
|
||||
r.Use(gin.Recovery())
|
||||
|
||||
api.Handler(r.Group("/api/v1"))
|
||||
api.Handler(r.Group("/app/api/v1"))
|
||||
|
||||
// Start http server
|
||||
server := &http.Server{
|
||||
|
||||
Reference in New Issue
Block a user