fix for preflight requests
Merge pull request #12 from vastbinderj/master

fix for preflight requests