Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow manual passing of token environment variable to use multiple apps in one project #1162

Open
1 task done
ahkhanjani opened this issue Mar 3, 2025 · 0 comments
Labels
✨ enhancement suggestion or feature request to improve uploadthing

Comments

@ahkhanjani
Copy link
Contributor

Describe the feature you'd like to request

createUploadthing() should take custom env variables as options.

Describe the solution you'd like to see

const f1 = createUploadthing({ token: env.UPLOADTHING_TOKEN_APP1 });
const f2 = createUploadthing({ token: env.UPLOADTHING_TOKEN_APP2 });

Additional information

No response

👨‍👧‍👦 Contributing

  • 🙋‍♂️ Yes, I'd be down to file a PR implementing this feature!
@ahkhanjani ahkhanjani added the ✨ enhancement suggestion or feature request to improve uploadthing label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement suggestion or feature request to improve uploadthing
Projects
None yet
Development

No branches or pull requests

1 participant