stereobooster / react-snap

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

Specifying basePath in index.js with https url doesn't load the app on https, it still runs on http #525

Open smmehadi opened 3 years ago

smmehadi commented 3 years ago

Bug Report

Current Behavior

  1. Our website can only run properly in test environment if it is hosted on https (not http due to security reasons). Now when i am trying to change basePath in index.js with https url, it still loads the website on http (for puppeteer to crawl).

This doesn't seem to be working as per expectation.

  1. Another issue is that it gets stuck in post build step and displays >react-snap on command line and nothing else. i thought it will continue to crawl the pages, but that doesn't seem to be happening.

tried http and https both, still the same issue.

Reproducible demo can't share code.

Expected behavior/code

  1. https url should work with react-snap.
  2. it should not get stuck at command line and should show progress of what it is doing.

Possible Solution

Additional context/Screenshots