Skip to content

Commit d05d5ca

Browse files
committed
gatsby config corregido y dotenv eliminado
1 parent 2a15627 commit d05d5ca

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

gatsby-config.js

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
require("dotenv").config({
2-
path: `.env`, // Asegúrate de que apunte al archivo correcto
3-
});
4-
5-
6-
7-
8-
9-
10-
111
module.exports = {
122
trailingSlash: "always",
133
siteMetadata: {
@@ -112,8 +102,8 @@ module.exports = {
112102
resolve: `gatsby-source-strapi`,
113103
options: {
114104
// apiURL: `http://lb-bitlogic-strapi-dev-48805770.sa-east-1.elb.amazonaws.com:1337`,
115-
apiURL: `https://strapi.bitlogic.io`,
116-
// apiURL: process.env.STRAPI_URL,
105+
// apiURL: `https://strapi.bitlogic.io`,
106+
apiURL: process.env.STRAPI_URL,
117107
// apiURL: "http://127.0.0.1:1337",
118108
queryLimit: 1000,
119109
collectionTypes: [

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"@fortawesome/free-solid-svg-icons": "^6.0.0",
1313
"@fortawesome/react-fontawesome": "^0.1.17",
1414
"bootstrap": "^5.1.0",
15-
"dotenv": "^16.4.5",
1615
"gatsby": "^4.6.0",
1716
"gatsby-background-image": "^1.5.3",
1817
"gatsby-plugin-canonical-urls": "^4.22.0",

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4602,11 +4602,6 @@ dotenv-expand@^5.1.0:
46024602
resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0"
46034603
integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==
46044604

4605-
dotenv@^16.4.5:
4606-
version "16.4.5"
4607-
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.5.tgz#cdd3b3b604cb327e286b4762e13502f717cb099f"
4608-
integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==
4609-
46104605
dotenv@^7.0.0:
46114606
version "7.0.0"
46124607
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-7.0.0.tgz#a2be3cd52736673206e8a85fb5210eea29628e7c"

0 commit comments

Comments
 (0)