Skip to content

Commit

Permalink
[vscode] 6/n update Route Table with env api
Browse files Browse the repository at this point in the history
Summary:

Stack contains changes that updates overall environment setup flow for vscode extension.

This diff adds support to call "SET_ENV_FILE_PATH" implemented in the previous diff.

No functional changes.

Test Plan:
  • Loading branch information
Ankush Pala [email protected] committed Mar 5, 2024
1 parent 3e14a8f commit d4782eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vscode-extension/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export const EDITOR_SERVER_ROUTE_TABLE = {
urlJoin(hostUrl, EDITOR_SERVER_API_ENDPOINT, "/load_content"),
LOAD_MODEL_PARSER_MODULE: (hostUrl: string) =>
urlJoin(hostUrl, EDITOR_SERVER_API_ENDPOINT, "/load_model_parser_module"),
SET_ENV_FILE_PATH: (hostUrl: string) =>
urlJoin(hostUrl, EDITOR_SERVER_API_ENDPOINT, "/set_env_file_path"),
};

export async function isServerReady(serverUrl: string) {
Expand Down

0 comments on commit d4782eb

Please sign in to comment.