netlify

Gatsby client side redirects to external URL not working on Netlify

雨燕双飞 提交于 2020-08-25 17:18:30
问题 I need to do a simple client side redirect to an external URL from a page on my Gatsby site hosted on Netlify. It works fine locally, but nothing seems to work when deployed. There also seems to be a bug with Gatsby's native createRedirect-functionality so that it doesn't allow redirecting to external URLs. I've tried the three methods below in componentDidMount , in render as well as in callbacks from a recurring ( setInterval ) function call. I've also tried hijacking clicks on the links

Problems with my routes in my production project with node js ERROR

孤街浪徒 提交于 2020-07-23 04:57:01
问题 I am presenting problems with my project in production, I don't know if I have a bad configuration or something like that, I would like to know if you can see something, I will leave you pieces of my code. In local it works perfectly, it seems that in production I use netlify, it does not take the routes well This is the file in my routes folder 'use strict' var express = require('express'); var ArticleController = require('../controllers/article'); var router = express.Router(); var

Problems with my routes in my production project with node js ERROR

删除回忆录丶 提交于 2020-07-23 04:56:27
问题 I am presenting problems with my project in production, I don't know if I have a bad configuration or something like that, I would like to know if you can see something, I will leave you pieces of my code. In local it works perfectly, it seems that in production I use netlify, it does not take the routes well This is the file in my routes folder 'use strict' var express = require('express'); var ArticleController = require('../controllers/article'); var router = express.Router(); var

Problems with my routes in my production project with node js ERROR

為{幸葍}努か 提交于 2020-07-23 04:54:29
问题 I am presenting problems with my project in production, I don't know if I have a bad configuration or something like that, I would like to know if you can see something, I will leave you pieces of my code. In local it works perfectly, it seems that in production I use netlify, it does not take the routes well This is the file in my routes folder 'use strict' var express = require('express'); var ArticleController = require('../controllers/article'); var router = express.Router(); var