site/vercel.json
Max Wofford 65e9ad5751 Invites on the slack form create multi-channel guests (#23)
* Invites on the slack form create multi-channel guests

* Use CORS only in production

* Open this boi UP

* Remove cors-anywhere

* Remove JSON parse

* Attempt boolean logic for teens

* Attempt to fix som form

* Attempt to fix form routing error

* Don't include post URL in form html

* Remove method from HTML

* Try persisting event

* Remove fetch imports

* Edit submitted button copy

* Add logging

* Fix teen field

Co-authored-by: Lachlan Campbell <lachlan@hackclub.com>
2020-06-18 08:01:21 -04:00

13 lines
269 B
JSON

{
"trailingSlash": true,
"github": { "silent": true },
"env": {
"SLACK_BOT_TOKEN": "@slack-bot-token-production-8avf"
},
"headers": [
{
"source": "/api/(.+)",
"headers": [{ "key": "Access-Control-Allow-Origin", "value": "*" }]
}
]
}