drawdb icon indicating copy to clipboard operation
drawdb copied to clipboard

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

Open xiaofeixia12345 opened this issue 8 months ago • 5 comments

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

xiaofeixia12345 avatar Mar 31 '25 16:03 xiaofeixia12345

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

1ilit avatar Mar 31 '25 17:03 1ilit

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.

1ilit avatar Apr 02 '25 18:04 1ilit