Skip to content

Commit

Permalink
chore: update cli to include api namespacing @msagi
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieSlome committed Apr 19, 2024
1 parent 77ab2be commit 0553c80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/git-proxy-cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ axios.defaults.timeout = 30000;
async function login(username, password) {
try {
let response = await axios.post(
`${baseUrl}/auth/login`,
`${baseUrl}/api/auth/login`,
{
username,
password,
Expand Down Expand Up @@ -288,7 +288,7 @@ async function logout() {
fs.unlinkSync(GIT_PROXY_COOKIE_FILE);

await axios.post(
`${baseUrl}/auth/logout`,
`${baseUrl}/api/auth/logout`,
{},
{
headers: { Cookie: cookies },
Expand Down

0 comments on commit 0553c80

Please sign in to comment.