Should slice-data respect assetPrefix? #37143
Unanswered
mudge
asked this question in
Ideas / Feature Requests
Replies: 1 comment 2 replies
-
Specifically, should gatsby/packages/gatsby/cache-dir/loader.js Line 330 in 33976b3 __PATH_PREFIX__ ala
?
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We've just deployed our first use of the Slice API and notice requests being made to
/slice-data/header.json
and/slice-data/footer.json
on our main domain. This required changes to our load balancer as we expected those files to be served from our dedicated asset host (ala files under/page-data/
) as defined by theassetPrefix
configuration variable.Should slice-data also be served with the asset prefix?
Beta Was this translation helpful? Give feedback.
All reactions