Fix tests failing
This commit is contained in:
parent
b6c6b1fc5f
commit
22336cedad
@ -1,4 +1,6 @@
|
|||||||
const imageUrlParts = process.env.NEXT_PUBLIC_SITE_URL.split("://");
|
const imageUrlParts =
|
||||||
|
process.env.NEXT_PUBLIC_SITE_URL.split("://") ||
|
||||||
|
"http://localhost:3000".split("://"); // To make tests pass
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
|
Reference in New Issue
Block a user