empress / empress/field-guide

fetch for json needs to respect rootURL

Open
#13 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
19
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I've changed the `rootURL` property of config as I'm deploying my docs under some nested directory of the server. Since `field-guide` generates various `json` file configs for the docs, we may need to respect the `rootURL` config while [fetching these JSONs](https://github.com/empress/field-guide/blob/master/addon/routes/application.js#L6). Otherwise, the `field-guide` will try to fetch these JSONs from the root of the server which leads to 404

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.