You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes some WordPress basic REST endpoints may be hidden from view by a plugin or theme.
To have control over which endpoints to load data from and to avoid fetch fail due 404 error when loading data, it might be a good idea to add something like this to gridsome.config.js:
Sometimes some WordPress basic REST endpoints may be hidden from view by a plugin or theme.
To have control over which endpoints to load data from and to avoid fetch fail due 404 error when loading data, it might be a good idea to add something like this to
gridsome.config.js
:And to
WordPressSource
classconstructor()
(index.js
):I'm sure the code could be more elegant and is meant to be adjusted by somebody more experienced than me.
Is it even a good idea?
The text was updated successfully, but these errors were encountered: