Commit 003d04bb authored by Guillaume Porte's avatar Guillaume Porte 😶
Browse files

route pour sitemap.xml

parent 116241f7
Loading
Loading
Loading
Loading
+11
Changes for max.xq: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -312,3 +312,14 @@ declare
{
  "Max - ERROR: " || $desc
};


declare
%rest:GET
  %output:method("xml")
  %output:encoding("UTF-8")
  %output:omit-xml-declaration("no")
%rest:path("/{$project}/sitemap.xml")
function max:buildSitemap($project){
  max.html:getSitemap($project)
};