Value-expression variables inside *…* / **…** segments no longer need backticks (the segment markers already mark code). Drop trailing spaces and de-tick value-expression variable names in tests and skill docs; keep backticks for string interpolation, call args, and method receivers. Co-authored-by: Cursor <cursoragent@cursor.com>
743 B
743 B
title: web static smoke description: Offline app.static registration (no listen). import web:ext/web/web.mq.md import json:lib/json.mq.md
main
home = > web.page title="Home"
app = > web.app page=home host=127.0.0.1 port=18081
app = > app.static dir=web-fixtures/public mount=/static
dir = > json.get value=app key=static_dir
dir== "web-fixtures/public"
print text=dir-ok
print text=dir-fail
mount = > json.get value=app key=static_mount
mount== "/static"
print text=mount-ok
print text=mount-fail
app2 = > app.static dir=assets mount=/assets
m2 = > json.get value=app2 key=static_mount
m2== "/assets"
print text=custom-ok
print text=custom-fail