From a449aee59cdcdebb8c2b2df8824f61017192e642 Mon Sep 17 00:00:00 2001 From: Aitor Urrutia Aranburu Date: Mon, 26 Jun 2023 19:36:05 +0200 Subject: [PATCH] chore: token-a ingurune aldagaietara eramaten du --- back/database/migrations/development.db | Bin 761856 -> 761856 bytes front/.env | 2 -- front/.env.development | 3 +++ front/gatsby-config.js | 3 +-- 4 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 front/.env create mode 100644 front/.env.development diff --git a/back/database/migrations/development.db b/back/database/migrations/development.db index 86caefe2402885153a466d62e6c7daddac4f9565..c3e2da53608539017a5d2cdf580c12f09e760eae 100644 GIT binary patch delta 52 zcmZoTpx1CfZ-O-A#fdV`j2Aa1O#jb$RPz{P#}6Rc!q~#p!ra2r!rH>t!rsEs!r8*L HgnI!1N{tj_ delta 52 zcmZoTpx1CfZ-O-A$%!(~j3+lHO#jchD=~tx;|GvzVQgV)VQyh*VQpb+VQ=AR;cVer H!o2_hI+GL8 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',