Skip to content

Instantly share code, notes, and snippets.

@garrappachc
Created February 10, 2020 11:53
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 garrappachc/e4bbae6cc8c1b5bc8181d139545f29a1 to your computer and use it in GitHub Desktop.
Save garrappachc/e4bbae6cc8c1b5bc8181d139545f29a1 to your computer and use it in GitHub Desktop.
proxy.conf.json
{
"/api": {
"target": "https://api.tf2pickup.pl",
"logLevel": "debug",
"changeOrigin": true,
"pathRewrite": {
"^/api": ""
}
},
"/socket.io": {
"target": "https://api.tf2pickup.pl/socket.io",
"ws": true,
"logLevel": "debug",
"changeOrigin": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment