Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"csrf",
"definitelytyped",
"promisified"
]
],
"zencoder.enableRepoIndexing": true
}
8 changes: 4 additions & 4 deletions client/core/src/setupProxy.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const proxy = require("http-proxy-middleware");
const { createProxyMiddleware } = require("http-proxy-middleware");

module.exports = function(app) {
app.use(proxy("/api", {
app.use(createProxyMiddleware("/api", {
target: "http://localhost:3001/",
headers: {
"Connection": "keep-alive"
}
}));
app.use(proxy("/auth", { target: "http://localhost:3001/" }));
app.use(proxy("/oauth2", { target: "http://localhost:3001/" }));
app.use(createProxyMiddleware("/auth", { target: "http://localhost:3001/" }));
app.use(createProxyMiddleware("/oauth2", { target: "http://localhost:3001/" }));
};
12,263 changes: 12,263 additions & 0 deletions client/package-lock.json

Large diffs are not rendered by default.

4,071 changes: 2,014 additions & 2,057 deletions client/yarn.lock

Large diffs are not rendered by default.

Loading