Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Strip spaces from webhook url input

Terry Sutton6b331509f6fc
diff --git a/studio/components/interfaces/Database/Hooks/CreateHook/ServiceConfigForm/InputServiceUrl.tsx b/studio/components/interfaces/Database/Hooks/CreateHook/ServiceConfigForm/InputServiceUrl.tsx
index f65aaa19efe..d7cc063b473 100644
--- a/studio/components/interfaces/Database/Hooks/CreateHook/ServiceConfigForm/InputServiceUrl.tsx
+++ b/studio/components/interfaces/Database/Hooks/CreateHook/ServiceConfigForm/InputServiceUrl.tsx
@@ -17,7 +17,7 @@ const InputServiceUrl: FC = observer(({}) => {
onChange={(e) =>
_localState.onFormChange({
key: 'serviceUrl',
- value: e.target.value,
+ value: e.target.value.replaceAll(' ', ''),
})
}
size="medium"