Skip to content

Commit bad9db9

Browse files
authored
postfix slash to engine url (#7013)
1 parent 6a1e54e commit bad9db9

File tree

1 file changed

+4
-0
lines changed
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/dedicated/_utils

1 file changed

+4
-0
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/dedicated/_utils/getEngineInstance.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,9 @@ export async function getEngineInstance(params: {
4545
result: EngineInstance;
4646
};
4747

48+
if (!json.result.url.endsWith("/")) {
49+
json.result.url += "/";
50+
}
51+
4852
return json.result;
4953
}

0 commit comments

Comments
 (0)