rctf icon indicating copy to clipboard operation
rctf copied to clipboard

Async upload providers

Open ginkoid opened this issue 5 years ago • 0 comments

At the moment, all upload providers are loaded synchronously with require(): https://github.com/redpwn/rctf/blob/163e25bc94f7083682399cc6057bca87f76bf57e/server/uploads/index.ts#L11-L13

We should use import() instead, such as in email providers: https://github.com/redpwn/rctf/blob/163e25bc94f7083682399cc6057bca87f76bf57e/server/email/index.ts#L20

ginkoid avatar Aug 07 '20 03:08 ginkoid