obsidian-share-as-gist icon indicating copy to clipboard operation
obsidian-share-as-gist copied to clipboard

Allow updating the GitHub API base URL

Open ram02z opened this issue 5 months ago • 2 comments

This PR allows users to set the GitHub API base URL to be used by the octokit constructor. Similar to access token, the URL in localstorage, meaning it won't be synced with the rest of the vault. This is useful if you use the same vault both at work and personal, which is what I do at the moment, so you can set separate URLs depending on the machine.

Closes #629

Summary by CodeRabbit

  • New Features

    • Introduced an option for users to update the GitHub REST API base URL, especially beneficial for GitHub Enterprise users.
    • Added a setting in the application to input and save a custom GitHub REST API base URL.
  • Documentation

    • Updated the README.md to clarify the steps for sharing notes via GitHub Gists, including the new base URL option.

ram02z avatar Sep 14 '24 09:09 ram02z