Skip to content

Commit

Permalink
New backend URL
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnbeelee committed May 21, 2024
1 parent 27e3653 commit 83e2e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vscode/src/helpers/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as vscode from 'vscode';
export const ISDEV = process.env.VSCODE_DEBUG_MODE === 'true';
export const USERID = vscode.env.machineId;

export const MINTBASE = ISDEV ? 'http://localhost:5000' : 'https://api.mintlify.com';
export const MINTBASE = ISDEV ? 'http://localhost:5000' : 'https://writer.api.mintlify.com';
export const DOCS_WRITE = MINTBASE + '/docs/write/v3';
export const DOCS_WRITE_NO_SELECTION = MINTBASE + '/docs/write/v3/no-selection';
export const WORKER_STATUS = (id: string) => MINTBASE + `/docs/worker/${id}`;
Expand All @@ -18,4 +18,4 @@ export const USER_CODE = MINTBASE + '/user/code';
export const USER_STATUS = MINTBASE + '/user/status';

export const TEAM = MINTBASE + '/team';
export const INVITE = MINTBASE + '/team/invite';
export const INVITE = MINTBASE + '/team/invite';

0 comments on commit 83e2e09

Please sign in to comment.