feat(sora): add GDrive full-cycle test endpoint (upload/download/delete)

This commit is contained in:
erio committed 2026-03-06 22:33:37 +08:00
1 parent 3f1ca43514
commit 298f5c1baf
4 files changed
+82 -2

No files matched your search

+1
View File
@@ -413,6 +413,7 @@ func registerSettingsRoutes(admin *gin.RouterGroup, h *handler.Handlers) {
// Google Drive OAuth
adminSettings.POST("/sora-storage/gdrive-oauth/start", h.Admin.GDriveOAuth.StartOAuth)
adminSettings.POST("/sora-storage/gdrive-oauth/callback", h.Admin.GDriveOAuth.OAuthCallback)
adminSettings.POST("/sora-storage/gdrive-test", h.Admin.GDriveOAuth.TestGDriveStorage)
}
}