- given:
- I adjust the Optimize logo
- when:
- the mime type of the logo can't be extracted
- then:
- the logo base64 data url is wrong, since it's missing the mime type and thus the logo can't be displayed in the front-end
- expected:
- on Optimize startup it is also checked if the mime type of the logo can be extracted and is a valid html image tag mime tag and in case it's not valid, an error is thrown
Hint:
This problem came up because the logo path couldn't be resolved on Omran's machine, since the mime type extraction doesn't resolve the path.