Skip to content

Conversation

@felixsanz
Copy link
Contributor

What is it?

  • Feature / enhancement
  • Bug
  • Docs / tests

Description

There are Content-Types that are variations of application/json, like application/manifest+json, which is needed to output a route like /manifest.webmanifest.ts. This PR make it less rigid so it works with those variations.

Use cases and why

    1. One use case

Using routes/manifest.webmanifest.ts needs to print application/manifest+json.

    1. Another use case

application/ld+json and other variations.

Checklist:

  • My code follows the developer guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • Added new tests to cover the fix / functionality

@felixsanz felixsanz closed this Aug 9, 2022
@felixsanz felixsanz reopened this Aug 9, 2022
@adamdbradley adamdbradley merged commit 7af608f into QwikDev:main Aug 9, 2022
@adamdbradley
Copy link
Contributor

great idea, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants