Add a central API for frontend urls

Created on 19 October 2022, over 2 years ago
Updated 24 January 2023, over 2 years ago

Problem/Motivation

Add a central API for frontend urls. These could be used for CORS policy or content security policy.

Proposed resolution

Add lupus_decoupled.frontend_base_urls service parameter that could be extended/overridden by custom service providers and a method BaseUrlProvider::getAllFrontendBaseUrls that returns the value.

Remaining tasks

  1. Write code
  2. Write docs

API changes

getAllFrontendUrls replaces the current getFrontendUrl method.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇸🇮Slovenia useernamee Ljubljana

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024