Skip to content
Merged
Changes from 1 commit
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
5 changes: 5 additions & 0 deletions site/src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,11 @@ export const getAgentListeningPorts = async (
return response.data
}

export const getSSHConfig = async (): Promise<TypesGen.SSHConfigResponse> => {
const response = await axios.get(`/api/v2/deployment/ssh`)
return response.data
}

export const getDeploymentValues = async (): Promise<DeploymentConfig> => {
const response = await axios.get(`/api/v2/deployment/config`)
return response.data
Expand Down