Skip to content

Commit

Permalink
feat: 适配最新的gpts store
Browse files Browse the repository at this point in the history
fix: 修复点击gpts页面白屏问题
  • Loading branch information
liuhuapiaoyuan committed Jan 11, 2024
1 parent f430b5a commit 2aeb536
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend-api/backend-api.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ var (
func init() {
s := g.Server()
s.BindHandler("/backend-api/*any", ProxyAll)
s.BindHandler("/_next/data/*any", NextDataGptsFixed)
s.BindHandler("/public-api/*any", ProxyAll)
// s.BindHandler("/_next/data/*any", NextDataGptsFixed)
backendGroup := s.Group("/backend-api")
backendGroup.POST("/accounts/data_export", NotFound) // 禁用导出
backendGroup.POST("/payments/checkout", NotFound) // 禁用支付
Expand Down

0 comments on commit 2aeb536

Please sign in to comment.