sublinks / sublinks-api

MIT License
68 stars 17 forks source link

Unable to create posts without URL #385

Closed kgilles closed 1 month ago

kgilles commented 1 month ago

Currently it's not possible to create a new post without attaching a URL. If a post creation attempt is made without it, a 500 error is returned and the API service logs the error "Invalid URL scheme".

"Self posts", as they're known within Reddit, is a post which only contains a title and optionally some written content. There's no need to link to any other assets or external sites. We need to allow this as well for parity with Lemmy.

Criteria