Importing form

This commit is contained in:
Rodrigo Pinto 2020-02-18 22:49:59 -05:00
commit 789eb7aac4
4 changed files with 119 additions and 0 deletions

View file

@ -1,9 +1,19 @@
var proxy = require("http-proxy-middleware")
module.exports = {
siteMetadata: {
title: `Gatsby Default Starter`,
description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
author: `@gatsbyjs`,
},
developMiddleware: app => {
app.use(
"/api/",
proxy({
target: "http://localhost:3000"
})
)
},
plugins: [
`gatsby-plugin-react-helmet`,
{