[MAGNOLIA-6329] Add mime mapping for extension map Created: 31/Jul/15  Updated: 31/Jul/15  Resolved: 31/Jul/15

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Philip Mundt Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File config.server.MIMEMapping.map.xml    
Issue Links:
duplicate
duplicates MAGNOLIA-6112 Add mime mapping for .map Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

Nowadays a lot of frontend tools use source maps files (we do this in the new travel-demo too).

Unfortunately there is no MIME mapping defined in the server configuration resulting in log.infos:

2015-07-31 08:45:02,768 INFO  info.magnolia.cms.beans.config.MIMEMapping        : Cannot find MIME type for extension "map"

Suggestion

Add a MIME mapping config;/server/MIMEMapping/map with mime-type=application/octet-stream (see: http://stackoverflow.com/a/19912684).


Generated at Mon Feb 12 04:13:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.