feat: remove API documentation tab and update README for deployment instructions
This commit is contained in:
@@ -43,9 +43,6 @@ func SetupRoutes(cfg *config.Config, ttsService tts.Service) (*gin.Engine, error
|
||||
// 设置主页路由
|
||||
baseRouter.GET("/", pagesHandler.HandleIndex)
|
||||
|
||||
// 设置API文档路由
|
||||
baseRouter.GET("/api-doc", pagesHandler.HandleAPIDoc)
|
||||
|
||||
// 设置TTS API路由 - 添加认证中间件
|
||||
|
||||
baseRouter.POST("/tts", middleware.TTSAuth(cfg.TTS.ApiKey), ttsHandler.HandleTTS)
|
||||
|
||||
Reference in New Issue
Block a user