Skip to content

Commit b91527e

Browse files
committed
housekeeping
1 parent c8ea36f commit b91527e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rxtx.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func main() {
7979
r.Run(":" + *port)
8080
}
8181

82-
// CORS
82+
// preflight permissive CORS headers
8383
func preflight(c *gin.Context) {
8484
c.Header("Access-Control-Allow-Origin", "*")
8585
c.Header("Access-Control-Allow-Headers", "access-control-allow-origin, access-control-allow-headers, content-type")

0 commit comments

Comments
 (0)