diff --git a/swarmgate/routes.ts b/swarmgate/routes.ts index 3e24ab0..9452159 100644 --- a/swarmgate/routes.ts +++ b/swarmgate/routes.ts @@ -50,7 +50,7 @@ try { console.error(`Failed to load registry auth overrides: ${error.message}`); } -function getRegistryFromDockerImage(image) { +function getRegistryFromDockerImage(image: string): string { const parts = image.split('/'); if (parts.length < 2) { return '';