Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6fa8ca

Browse files
authored
chore: add typescript api for ssh config (#6741)
* chore: add typescript api for ssh config
1 parent8857971 commita6fa8ca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎site/src/api/api.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,13 @@ export const getAgentListeningPorts = async (
832832
returnresponse.data
833833
}
834834

835+
// getDeploymentSSHConfig is used by the VSCode-Extension.
836+
exportconstgetDeploymentSSHConfig=
837+
async():Promise<TypesGen.SSHConfigResponse>=>{
838+
constresponse=awaitaxios.get(`/api/v2/deployment/ssh`)
839+
returnresponse.data
840+
}
841+
835842
exportconstgetDeploymentValues=async():Promise<DeploymentConfig>=>{
836843
constresponse=awaitaxios.get(`/api/v2/deployment/config`)
837844
returnresponse.data

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp