jpmschuler/staticpathrouteresolver

Site config static routes which support EXT: path prefix to e.g. allow per-site favicon with cms-composer-installers >=4

Installs: 3 919

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

Type:typo3-cms-extension

v1.3.0 2023-08-02 08:00 UTC

This package is auto-updated.

Last update: 2024-10-01 00:09:17 UTC


README

TYPO3 extension staticpathrouteresolver Latest TER version Latest Packagist version Total downloads

Supported TYPO3 versions Supported PHP versions Current CI health

EXT:staticpathrouteresolver

Site config static routes which support EXT: path prefix to e.g. allow per-site redirect of /favicon.ico or /robots.txt with

  • TYPO3 11LTS using typo3/cms-composer-installers v4.0.0RC1 or with
  • TYPO3 12LTS

Installation

Either install

How to use

Either configure the static routes in the site backend module or in your site config.yml, use

routes:
  -
    route: favicon.ico
    path: 'EXT:mysitepackage/Resources/Public/Icons/favicon.ico'

The core handler will ignore all routes without a specified type, we use that to not let core throw exceptions or interact on that config.