Commit 7d140f9e authored by barth23's avatar barth23
Browse files

re-register rest api

parent 53269994
......@@ -5,6 +5,7 @@ import module namespace elastic="http://elastic.io" at "modules/elastic.xqm";
declare namespace repo="http://exist-db.org/xquery/repo";
declare namespace xconf="http://exist-db.org/collection-config/1.0";
import module namespace rest="http://exquery.org/ns/restxq";
(: The following external variables are set by the repo:deploy function :)
......@@ -133,8 +134,8 @@ let $indexing_msg := util:log-system-out("indexing edition pages and registers .
let $indexing := elastic:setup()
let $map-tiles-msg := util:log-system-out("importing paris map tiles ...")
let $map-tiles := local:inject-map-tiles('/var/www/map-tiles.git/raster')
(:~ let $restxq_register_msg := util:log-system-out("register sendmail api")
let $restxq_register := exrest:register-module(xs:anyURI($target||"modules/architrave/sendmail.xqm")) ~:)
let $restxq_register_msg := util:log-system-out("register sendmail api")
let $restxq_register := rest:register-module(xs:anyURI($target||"modules/architrave/sendmail.xqm"))
return (
if
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment