Skip to content

Commit 53a8b0e

Browse files
authored
Revert "Crear redirecciones de URLs de la web antigua a la nueva. Fix #96"
1 parent efd21b3 commit 53a8b0e

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

gatsby-config.js

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ module.exports = {
1212
'gatsby-plugin-react-helmet',
1313
'gatsby-plugin-react-leaflet',
1414
'gatsby-plugin-fontawesome-css',
15-
'gatsby-redirect-from',
16-
'gatsby-plugin-meta-redirect',
1715
{
1816
resolve: 'gatsby-source-filesystem',
1917
options: {

gatsby-node.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ exports.onCreateNode = ({ node, getNode, actions }) => {
1616

1717
// Create pages from markdown files
1818
exports.createPages = ({ graphql, actions }) => {
19-
const { createPage, createRedirect } = actions;
20-
createRedirect({ fromPath: `/pages/asociacion.html`, toPath: `/asociacion/`, redirectInBrowser: true, isPermanent:true });
21-
createRedirect({ fromPath: `/pages/ofertas-de-empleo.html`, toPath: `/empleo/`, redirectInBrowser: true, isPermanent:true });
19+
const { createPage } = actions;
2220
return new Promise((resolve, reject) => {
2321
resolve(
2422
graphql(

package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,15 @@
2626
"gatsby-plugin-fontawesome-css": "^1.1.0",
2727
"gatsby-plugin-google-analytics": "^3.0.0",
2828
"gatsby-plugin-google-fonts": "^1.0.1",
29-
"gatsby-plugin-meta-redirect": "^1.1.1",
3029
"gatsby-plugin-react-helmet": "^4.0.0",
3130
"gatsby-plugin-react-leaflet": "^3.0.2",
3231
"gatsby-plugin-sass": "^4.0.2",
33-
"gatsby-redirect-from": "^0.5.0",
3432
"gatsby-remark-external-links": "0.0.4",
3533
"gatsby-source-filesystem": "^3.0.0",
3634
"gatsby-transformer-json": "^3.0.0",
3735
"gatsby-transformer-remark": "^4.6.0",
3836
"leaflet": "^1.7.1",
37+
"sass": "^1.43.4",
3938
"postcss": "^8.3.5",
4039
"prop-types": "^15.7.2",
4140
"react": "^17.0.2",
@@ -45,8 +44,7 @@
4544
"react-icons": "^4.2.0",
4645
"react-leaflet": "^3.2.1",
4746
"react-leaflet-markercluster": "^3.0.0-rc1",
48-
"remark-parse": "^9.0.0",
49-
"sass": "^1.43.4"
47+
"remark-parse": "^9.0.0"
5048
},
5149
"devDependencies": {
5250
"@babel/cli": "^7.13.10",

0 commit comments

Comments
 (0)