stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.04k stars 391 forks source link

Added null check for link port #384

Closed Stanko closed 5 years ago

Stanko commented 5 years ago

Bugfix for the issue I introduced in this pr: https://github.com/stereobooster/react-snap/pull/373

When localhost link has no port, it is returned as null and toString method fails. Updated test as well.

stereobooster commented 5 years ago

👍