Skip to content

Instantly share code, notes, and snippets.

@camwhite
Created July 9, 2019 00:43
Show Gist options
  • Save camwhite/61196b9ed960a1277bb065be8812e2a8 to your computer and use it in GitHub Desktop.
Save camwhite/61196b9ed960a1277bb065be8812e2a8 to your computer and use it in GitHub Desktop.
devServer: {
proxy: {
'/socket.io': {
target: 'http://localhost:3001',
ws: true
},
'/api': {
target: 'http://localhost:3001',
changeOrigin: true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment