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({
|
||||
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',
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user