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:
parent
0141e55936
commit
4e9b3a8940
3 changed files with 12 additions and 2 deletions
|
@ -130,7 +130,7 @@ export async function createRemoteEnvironment({
|
|||
}: CreateRemoteEnvironment) {
|
||||
return createEnvironment(name, creationType, {
|
||||
...options,
|
||||
url: `tcp://${url}`,
|
||||
url: `${url}`,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue