forked from jason/cpolis
		
	Add port to url of UploadArticleImage()
This commit is contained in:
		@@ -502,7 +502,7 @@ func UploadArticleImage(c *b.Config, s *b.CookieStore) http.HandlerFunc {
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		url := fmt.Sprint(c.Domain, "/image/serve/", filename)
 | 
			
		||||
		url := fmt.Sprint(c.Domain, c.Port, "/image/serve/", filename)
 | 
			
		||||
		w.Header().Set("Content-Type", "application/json")
 | 
			
		||||
		json.NewEncoder(w).Encode(url)
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user