bratislava / olo.sk

European Union Public License 1.2
1 stars 0 forks source link

#217 Use full path from strapi `Router` content type #218

Closed radoslavzeman closed 2 months ago

radoslavzeman commented 2 months ago

The aim of this PR is to propose a solution for routing of strapi content types (other than Pages), that should live on some specific urls, e.g. /o-nas/novinky/[slug]. This solution replaces our other solutions (map, translations, Navikronos), and uses normal strapi content type to store the routes. It also tries to use dynamic rewrites using middleware.ts instead of static rewrites defined in next.config.js.

This PR contains:

Notes:

github-actions[bot] commented 2 months ago

Test build pipeline info :rocket:
Changes in the code and tag info:
:arrow_right: Changes in strapi: true
:arrow_right: Changes in next: true
We are going to build :ship:

:soon: strapi
:soon: next
:partying_face: Bratiska-cli successfully built an image from path: strapi/