Open jordaaash opened 9 months ago
When using ngrok as recommended for local testing of client uploads, there's a default warning page that can be bypassed by sending a header.
If this code accepted request headers, it could be provided: https://github.com/vercel/storage/blob/293ebe7796538119fcbc793c9ffdea7c3ec91955/packages/blob/src/client.ts#L306-L309
There are probably other more common cases where this would also be helpful -- sending CORS headers, authorization tokens, etc.
hey @jordansexton , thanks for the suggestion! I think that's a valuable point, we'll add it to our roadmap
+1 Really need that for my project
When using ngrok as recommended for local testing of client uploads, there's a default warning page that can be bypassed by sending a header.
If this code accepted request headers, it could be provided: https://github.com/vercel/storage/blob/293ebe7796538119fcbc793c9ffdea7c3ec91955/packages/blob/src/client.ts#L306-L309
There are probably other more common cases where this would also be helpful -- sending CORS headers, authorization tokens, etc.