View on GitHub

next-graphcms-shows

A Next.js application for displaying fictional live events retrieved from GraphCMS

Home > Issues > 4

Artist website URLs without http(s) are broken

Type Effort (Fibonacci)
Bug 1

On show pages for artists whose webUrl lacks a protocol (http or https), the Website link is broken. See Mama Said 30th Anniversary for an example. In the section about Lenny Kravitz, the Website link points to http://localhost:3001/show/www.lennykravitz.com.

Assume that, for one reason or another, the URL can’t be adjusted in the database. For instance, if this app were used by thousands of artists, we couldn’t guarantee that they’d enter full URLs with protocol included.

Acceptance criteria