produkziorako konfigurazioa sortzen du

This commit is contained in:
Aitor Urrutia
2022-01-15 22:05:17 +01:00
parent 2d7adf4c8b
commit cf4b202dbf
2 changed files with 16 additions and 14 deletions

2
front/.env.production Normal file
View File

@@ -0,0 +1,2 @@
GATSBY_ROOT_URL=https://laba-webgunea.netlify.app
API_URL=https://laba-webgunea.herokuapp.com/api

View File

@@ -1,5 +1,5 @@
require('dotenv').config({
path: `.env`,
path: `.env.${process.env.NODE_ENV}`,
});
module.exports = {
@@ -22,18 +22,18 @@ module.exports = {
},
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
{
resolve: `gatsby-plugin-manifest`,
options: {
name: 'gatsby-starter-default',
short_name: 'starter',
start_url: '/',
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/favicon.png`,
},
},
'gatsby-plugin-sitemap',
// {
// resolve: `gatsby-plugin-manifest`,
// options: {
// name: 'gatsby-starter-default',
// short_name: 'starter',
// start_url: '/',
// background_color: `#663399`,
// theme_color: `#663399`,
// display: `minimal-ui`,
// icon: `src/images/favicon.png`,
// },
// },
// 'gatsby-plugin-sitemap',
],
};