fix OPML export to include correct OPML version

This commit is contained in:
zadam 2019-03-03 19:43:30 +01:00
parent 52a8aae74f
commit e628c30c89

View File

@ -54,7 +54,7 @@ async function exportToOpml(exportContext, branch, version, res) {
res.setHeader('Content-Type', 'text/x-opml'); res.setHeader('Content-Type', 'text/x-opml');
res.write(`<?xml version="1.0" encoding="UTF-8"?> res.write(`<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0"> <opml version="${version}">
<head> <head>
<title>Trilium export</title> <title>Trilium export</title>
</head> </head>