Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for form submissions (#780)
* Add support for form submissions * Make mkdirp async * Dev: Send forms data to submission-created function * Delete forms.js * Use this.error and this.log * Add mkdirp as dev dep * A better check for form mime * Dont trigger form handler on internal URl's * Fix 'referrer' field in forms * Normalize multipart form data * Add convenience fields for forms * Make form handler function URL relative to root * Add 'site' field to form event * Add files to Form event * Move handleFormSubmission outside * Formatting * Remove debug logs * Fix query params when handling forms * Add submission-created handler for tests * Add tests for Netlify Forms * Formatting * 🎨 Use non-arrow function * Fix Node 8 incompatiblity
- Loading branch information