dlang-tour / core

D Language online tour (https://tour.dlang.org/) and online editor (https://run.dlang.io/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

run.dlang.io: “Shorten” and “Export Gist” buttons not working

Ogi-kun opened this issue · comments

run.dlang.io: “Shorten” and “Export Gist” buttons not working

Bump. This is fairly vital infrastructure.

Bump.

Which will come first:

  • Aliens invading earth

  • This issue being fixed

My vote is on the former.

This is weird... I swear I used this feature just a few days ago, but today it's not working at all.

The third-party is.gd service that was used internally is no longer working and we can't do anything about it. Going forward, once I have sufficient time I will remove the ill-conceived "shorten" feature, I will instead push forward only "export to gist", which should pretty much work the same way for users, except for the exact URL format.

See the PR I made. Export gist works fine when giving https://run.dlang.io/gist/run-dlang/<id> but not https://run.dlang.io/gist/<id>. I made this a while ago so not sure if this is updated

@ljmf00 Thanks for reminder and for the PR itself! I will review it shortly.