Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point to new backend URL #137

Merged
merged 4 commits into from
May 21, 2024
Merged
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
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,5 @@
"bugs": {
"url": "https://github.com/mintlify/vscode-writer/issues"
},
"homepage": "https://github.com/mintlify/vscode-writer#readme",
"workspaces": [
"vscode",
"server"
]
Comment on lines -19 to -22
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we dont need this. it actually prevents you from running yarn

"homepage": "https://github.com/mintlify/vscode-writer#readme"
}
2 changes: 1 addition & 1 deletion vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Mintlify Doc Writer for Python, JavaScript, TypeScript, C++, PHP, Java, C#, Ruby & more",
"description": "AI powered documentation writer for JavaScript, Python, Java, Typescript & all other languages",
"icon": "assets/icon.png",
"version": "2.2.1",
"version": "2.2.2",
"publisher": "mintlify",
"license": "Expat",
"keywords": [
Expand Down
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';
Loading