produkziorako konfigurazioa sortzen du
This commit is contained in:
2
front/.env.production
Normal file
2
front/.env.production
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
GATSBY_ROOT_URL=https://laba-webgunea.netlify.app
|
||||||
|
API_URL=https://laba-webgunea.herokuapp.com/api
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
require('dotenv').config({
|
require('dotenv').config({
|
||||||
path: `.env`,
|
path: `.env.${process.env.NODE_ENV}`,
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
@@ -22,18 +22,18 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'gatsby-transformer-sharp',
|
'gatsby-transformer-sharp',
|
||||||
'gatsby-plugin-sharp',
|
'gatsby-plugin-sharp',
|
||||||
{
|
// {
|
||||||
resolve: `gatsby-plugin-manifest`,
|
// resolve: `gatsby-plugin-manifest`,
|
||||||
options: {
|
// options: {
|
||||||
name: 'gatsby-starter-default',
|
// name: 'gatsby-starter-default',
|
||||||
short_name: 'starter',
|
// short_name: 'starter',
|
||||||
start_url: '/',
|
// start_url: '/',
|
||||||
background_color: `#663399`,
|
// background_color: `#663399`,
|
||||||
theme_color: `#663399`,
|
// theme_color: `#663399`,
|
||||||
display: `minimal-ui`,
|
// display: `minimal-ui`,
|
||||||
icon: `src/images/favicon.png`,
|
// icon: `src/images/favicon.png`,
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
'gatsby-plugin-sitemap',
|
// 'gatsby-plugin-sitemap',
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user