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

[FEATURE] The function of Sharing for others can be setting in local? #384

Open
xiaofeixia12345 opened this issue Mar 31, 2025 · 4 comments

Comments

@xiaofeixia12345
Copy link

Is your feature request related to a problem? Please describe.
I found that when I call the share function, I will call a remote post request. Can I set it up in my local project?

Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
I don't find the loaction to set my request address

@1ilit
Copy link
Member

1ilit commented Mar 31, 2025

yes, if youre running the app locally you can specify your GITHUB_TOKEN. for more details on sharing see https://drawdb-io.github.io/docs/share#what-happens-when-you-share

@xiaofeixia12345
Copy link
Author

Thank you for providing the address, but I couldn't find a replacement location in the code. Can you please indicate which package it belongs to

@1ilit
Copy link
Member

1ilit commented Apr 2, 2025

I'm not sure i quite understand what you mean.

All you need to do is create a .env file in the root of the project, add your GITHUB_TOKEN there, and run the app locally.

@xiaofeixia12345
Copy link
Author

Okay, I will try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants