1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 07:15:23 +02:00

fix(endpoint handler): fix endpoint address(url) parsing EE-3081] (#7408)

fix address validation when creating agent endpoint
This commit is contained in:
Matt Hook 2022-08-05 09:30:54 +12:00 committed by GitHub
parent 0141e55936
commit 4e9b3a8940
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 2 deletions

View file

@ -130,7 +130,7 @@ export async function createRemoteEnvironment({
}: CreateRemoteEnvironment) {
return createEnvironment(name, creationType, {
...options,
url: `tcp://${url}`,
url: `${url}`,
});
}