Skip to content
Discussion options

You must be logged in to vote

There is no delete and no expiry in the share code.

If the id in the link is a long hex string, that share is a secret GitHub gist. /share also prints the gist URL. Delete that gist on GitHub, or run:

gh gist delete THE_ID

The link stops working after that. The key after the # in the link was never stored on the server.

If creating the gist failed, omp uploaded to the share server instead. That copy has no delete and no expiry in this code.

The fallback only happens when you share. If the store is set to gist and gh gist create fails, it posts to the share server. It does not later move an existing gist off GitHub.

@NewtonChutney

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NewtonChutney
Comment options

Answer selected by NewtonChutney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants