diff --git a/back/database/migrations/development.db b/back/database/migrations/development.db index 86caefe..c3e2da5 100644 Binary files a/back/database/migrations/development.db and b/back/database/migrations/development.db differ diff --git a/front/.env b/front/.env deleted file mode 100644 index d30ddf9..0000000 --- a/front/.env +++ /dev/null @@ -1,2 +0,0 @@ -GATSBY_ROOT_URL=http://localhost:8000 -API_URL=http://localhost:1337/api diff --git a/front/.env.development b/front/.env.development new file mode 100644 index 0000000..05c480a --- /dev/null +++ b/front/.env.development @@ -0,0 +1,3 @@ +GATSBY_ROOT_URL=http://localhost:8000 +API_URL=http://localhost:1337/api +STRAPI_GRAPHQL_TOKEN=307442ef6911b9692d6946bf6aac5d910795b56d92063e8a58ace14e31c8ac6ad7b64480ba591689abbad02758da9562e423e1ef1af8b9f303612ffb63f94f567060ea9f690d9d14bce676bdcf985a2a8c95643963ffd6f593490bb4b4ccae51572cbf315e7c823d0f368de2fe113b113986e9943df1a81e6e4228b82cc7cead diff --git a/front/gatsby-config.js b/front/gatsby-config.js index 650819d..f87b07d 100644 --- a/front/gatsby-config.js +++ b/front/gatsby-config.js @@ -26,8 +26,7 @@ module.exports = { contentTypes: [], // Enable/disable cache. cache: false, - token: - '307442ef6911b9692d6946bf6aac5d910795b56d92063e8a58ace14e31c8ac6ad7b64480ba591689abbad02758da9562e423e1ef1af8b9f303612ffb63f94f567060ea9f690d9d14bce676bdcf985a2a8c95643963ffd6f593490bb4b4ccae51572cbf315e7c823d0f368de2fe113b113986e9943df1a81e6e4228b82cc7cead', + token: process.env.STRAPI_GRAPHQL_TOKEN, }, }, 'gatsby-transformer-sharp',