Commit f65d7281 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

/max-dev/ prefix for max-dev bundle routes

parent e8212bf6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version('5')
%rest:path("/dev.html")
%rest:path("/max-dev/about.html")
function max-dev:index() as element(){
    if(conf:is-dev-mode())
    then
@@ -112,7 +112,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version('5')
%rest:path("/doc/functions.html")
%rest:path("/max-dev/doc.html")
function max-dev:functions-documentation(){
    if(conf:is-dev-mode())
    then
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ declare variable $html external;
if(conf:is-dev-mode())
then
let $devLink :=<a
    style="position: fixed; bottom :5px; left: 5px; background-color: #333; padding: 2px 5px; color: white" href="/dev.html">?</a>
    style="position: fixed; bottom :5px; left: 5px; background-color: #333; padding: 2px 5px; color: white" href="/max-dev/about.html">?</a>
return
    copy $c := $html
    modify (