local path

This commit is contained in:
Josh Yan
2024-07-03 17:01:09 -07:00
parent 736ad6f438
commit ea837412c2
2 changed files with 9 additions and 29 deletions

View File

@@ -784,8 +784,7 @@ func (s *Server) CreateBlobHandler(c *gin.Context) {
}
if c.GetHeader("X-Redirect-Create") == "1" {
c.Header("Location", path)
fmt.Println("!!!!!!!!!", string(path))
c.Header("LocalLocation", path)
c.Status(http.StatusTemporaryRedirect)
return
}