brendannee/noobgallery

Local serve - need to add ending / for gallery to load

Closed this issue · 1 comments

For serving locally via yarn serve, the initial page loads OK in the browser.

Clicking on a gallery, loads the gallery, BUT the images do not load.

workaround: manually edit the URL to end in /

note: it looks like when serving locally, the setting USE_INDEX_FILE is not followed (none of the URLs in the browser contain 'index.html' - so maybe that is related.

fix: replacing Vercel serve with http-server gets around this issue.