mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
Re-add cors anywhere
This commit is contained in:
parent
d78e1e6edf
commit
906467f986
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ const useForm = (
|
|||
const { method = 'post' } = options
|
||||
const action =
|
||||
submitURL?.startsWith('/') && process.env.NODE_ENV !== 'development'
|
||||
? `https://v3.hackclub.com${submitURL}`
|
||||
? `https://cors-anywhere.herokuapp.com/https://v3.hackclub.com${submitURL}`
|
||||
: submitURL
|
||||
|
||||
const onSubmit = (e) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue