Importing form
This commit is contained in:
parent
7b1622a797
commit
789eb7aac4
4 changed files with 119 additions and 0 deletions
|
@ -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`,
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue