Made sure the image served for HTML5 client is in SVG format.
This commit is contained in:
parent
cf1c6390be
commit
ceb3a3911c
@ -241,7 +241,7 @@ class BigBlueButtonInGW(bbbGW: BigBlueButtonGateway, presUtil: PreuploadedPresen
|
||||
val swfUri = presBaseUrl + "/slide/" + i
|
||||
|
||||
val txtUri = presBaseUrl + "/textfiles/" + i
|
||||
val pngUri = presBaseUrl + "/svg/" + i
|
||||
val pngUri = presBaseUrl + "/png/" + i
|
||||
|
||||
val p = new Page(id=id, num=num, thumbUri=thumbnail, swfUri=swfUri,
|
||||
txtUri=txtUri, pngUri=pngUri,
|
||||
|
@ -157,7 +157,7 @@ class PresentationController {
|
||||
if (pres.exists()) {
|
||||
def bytes = pres.readBytes()
|
||||
response.addHeader("Cache-Control", "no-cache")
|
||||
response.contentType = 'image/svg'
|
||||
response.contentType = 'image/svg+xml'
|
||||
response.outputStream << bytes;
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user