Coder Social home page Coder Social logo

Comments (3)

pdrbrnd avatar pdrbrnd commented on July 17, 2024

Hi @kuttim thanks!

Unfortunately, we recently migrated to gatsby-source-prismic that requires us to define an access token in gatsby-config.js

Now that I think of it, this token could probably be exposed (given it only gives access to master in Prismic)

Let us check and, if that's the case, we'll update our config to include the hard-coded token (instead of env variable)

from significa.co.

rogeriotoledo avatar rogeriotoledo commented on July 17, 2024

Hi @pbrandone,

I'd like to take a peek at significa.co source-code. I'm specially interested in the Handbook code.
I have no experience with Prismic and I'm not sure how to adjust the API Token (accessToken) in gatsby-config.js.

I added a random API Token in order to build the project, but I've got the following error when I tried to load the Handbook page:
TypeError: Cannot read property 'data' of undefined (take a look at the attached screenshot).

Can you give me a hand?

Obrigado!
CleanShot 2020-11-29 at 23 11 06

from significa.co.

danilowoz avatar danilowoz commented on July 17, 2024

@rogeriotoledo @deephut please see #190 (review)

from significa.co.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.