Fix tests part 2

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

@ -1,6 +1,6 @@
const imageUrlParts =
process.env.NEXT_PUBLIC_SITE_URL.split("://") ||
"http://localhost:3000".split("://"); // To make tests pass
const imageUrlParts = process.env.NEXT_PUBLIC_SITE_URL
? process.env.NEXT_PUBLIC_SITE_URL.split("://")
: "http://localhost:3000".split("://"); // To make tests pass
/** @type {import('next').NextConfig} */
const nextConfig = {