fix #37, correct image url in rss

cannot use baseurl here (wouldn't work in
dev mode)
This commit is contained in:
lesion
2019-04-04 22:22:37 +02:00
parent 580b884051
commit 07d3601fd6

View File

@@ -16,7 +16,7 @@ rss(version='2.0')
| <h4>#{event.title}</h4>
| <strong>#{event.place.name} - #{event.place.address}</strong>
| #{moment(event.start_datetime).format("dddd, D MMMM HH:mm")}<br/>
| <img src="#{config.apiurl}/uploads/#{event.image_path}"/>
| <img src="#{config.apiurl}/../uploads/#{event.image_path}"/>
| <pre>!{event.description}</pre>
| ]]>
pubDate= new Date(event.createdAt).toUTCString()