Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 131680b

Browse files
committed
chore: add typescript api for ssh config
1 parent 25e92fd commit 131680b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

site/src/api/api.ts

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

835+
export const getSSHConfig = async (): Promise<TypesGen.SSHConfigResponse> => {
836+
const response = await axios.get(`/api/v2/deployment/ssh`)
837+
return response.data
838+
}
839+
835840
export const getDeploymentValues = async (): Promise<DeploymentConfig> => {
836841
const response = await axios.get(`/api/v2/deployment/config`)
837842
return response.data

0 commit comments

Comments
 (0)