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
{{ message }}
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
/Users/XXX/XXX/prismic/nodejs-sdk-master/onboarding.js:6
const [_, endpoint] = PrismicConfig.apiEndpoint.match(repoRegexp);
^
TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))
at Object.trigger (/Users/chrisconnelly/Development/prismic/nodejs-sdk-master/onboarding.js:6:25)
at Server.<anonymous> (/Users/chrisconnelly/Development/prismic/nodejs-sdk-master/app.js:11:14)
at Object.onceWrapper (events.js:298:28)
at Server.emit (events.js:209:13)
at emitListeningNT (net.js:1332:10)
at processTicksAndRejections (internal/process/task_queues.js:79:21)
module.exports = {
apiEndpoint: 'https://web-dev-bible.cdn.prismic.io/api/v2',
accessToken: 'ACCESS TOKEN',
// OAuth
// clientId: 'xxxxxx',
// clientSecret: 'xxxxxx',
// -- Links resolution rules
// This function will be used to generate links to Prismic.io documents
// As your project grows, you should update this function according to your routes
linkResolver(doc) {
if (doc.type === 'post') {
return `/posts/${doc.uid}`;
}
return '/';
},
};
The text was updated successfully, but these errors were encountered:
nodejs-sdk-master/onboarding:
prismic-configuration.js:
The text was updated successfully, but these errors were encountered: