GitLab is having a hard time pushing events to Flagsmith, because instead of pointing to the API, webhooks are [pointing to the frontend website](https://github.com/Flagsmith/flagsmith/blob/dbd79bbb46a5bc15bc5e99b23d6d2d5597af55bd/api/integrations/gitlab/services/webhooks.py#L25). ## Acceptance criteria - [x] Point to the API URL instead. - [x] Fetch absolute API URL from in-flight Django `request` object — `FLAGSMITH_API_URL` is not a portable solution yet.
GitLab is having a hard time pushing events to Flagsmith, because instead of pointing to the API, webhooks are pointing to the frontend website.
Acceptance criteria
requestobject —FLAGSMITH_API_URLis not a portable solution yet.