mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-01 19:45:22 +02:00
* update docs * use auto-gen routes * dumb deps * remove whitespace * github action to build dev docs container * no cache Co-authored-by: hay-kot <hay-kot@pm.me>
7 lines
No EOL
340 B
Django/Jinja
7 lines
No EOL
340 B
Django/Jinja
// This Content is Auto Generated
|
|
const prefix = '{{paths.prefix}}'
|
|
export const API_ROUTES = { {% for path in paths.static_paths %}
|
|
{{ path.router_camel }}: `${prefix}{{ path.route }}`,{% endfor %}
|
|
{% for path in paths.function_paths %}
|
|
{{path.router_camel}}: ({{path.var|join(", ")}}) => `${prefix}{{ path.js_route }}`,{% endfor %}
|
|
} |