gillchristian / tsplay.dev

TypeScript Playground Shortener
https://tsplay.dev
MIT License
69 stars 9 forks source link

Inconsistent creation of custom back half links #85

Closed k-tten closed 2 years ago

k-tten commented 2 years ago

Sorry I’m creating this on mobile.

This is definitely an excellent tool but I find that I cannot create short links using playground links that contain anything else other then #code. Ex I include target or another tsconfig option and it says Opps something went wrong. It would be better if it could be more specific about the problem. Thanks.

gillchristian commented 2 years ago

Thanks for reporting.

Could you provide some examples of the URLs that fail?

Also, this is unrelated, but doesn't it happen in the website or the playground plugin?

k-tten commented 2 years ago

I was just trying out custom back half links like lcsdiff and such. It didn’t work the first few times so I removed target from the link and it created it successfully. Then I came back with another with the name rustdiff1 without the target included in the link and it didn’t work. Going to these links redirects to home page so that means they aren’t taken.

gillchristian commented 2 years ago

Ohh yeah currently it will not let you create duplicated links, I think I should remove that

gillchristian commented 2 years ago

It should support creating several short links for the same link now