sublinks / sublinks-api

MIT License
74 stars 18 forks source link

Unable to create posts without URL #385

Closed kgilles closed 6 months ago

kgilles commented 6 months 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