nextjs-headless-wordpress
nextjs-headless-wordpress copied to clipboard
Allow HTTPS URLs for WP backend during config
trafficstars
I was trying to use an https:// URL for my WP backend and I kept getting that "URL Is not valid" error.
Modified the regex to make the s in https optional, rather than the p in http. :)