Fix tests failing

This commit is contained in:
Lee 2022-11-17 07:28:35 +00:00
parent b6c6b1fc5f
commit 22336cedad
No known key found for this signature in database
GPG Key ID: 6EA25896ECCB3121

@ -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} */
const nextConfig = {