Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eeriksp/7c492baf80cf563a3d488ee6574940b9 to your computer and use it in GitHub Desktop.
Save eeriksp/7c492baf80cf563a3d488ee6574940b9 to your computer and use it in GitHub Desktop.
Vue proxyTable configuration to allow access to Django backend development server in development mode
proxyTable: {
'/api': {
target: 'http://127.0.0.1:8000',
changeOrigin: true
},
'/haldus': {
target: 'http://127.0.0.1:8000',
changeOrigin: true
},
'/static': {
target: 'http://127.0.0.1:8000',
changeOrigin: true
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment