Wire data_source into Document render, register Endpoint handlers via run_artifact, restore marqdo-blog as an Artifact site, and replace old compose_* web golds with ADR 0007 fixtures and docs. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
398 B
Markdown
21 lines
398 B
Markdown
---
|
|
title: web static artifact smoke
|
|
import web:ext/web/web.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
**pg = > web.page title="static"**
|
|
**app = > web.app page=`pg`**
|
|
**app = > `app`.static dir="web-fixtures/public" mount="/static"**
|
|
**d = [static_dir](app)**
|
|
**m = [static_mount](app)**
|
|
1. `d`
|
|
> print text=dir-ok
|
|
2. *
|
|
> print text=dir-fail
|
|
1. `m` == "/static"
|
|
> print text=mount-ok
|
|
2. *
|
|
> print text=mount-fail
|