Serve sculpt studio at /sculpt
Keep existing viewer URLs compatible and test embedded pages, assets, and isolation headers. Amp-Thread-ID: https://ampcode.com/threads/T-01a0b4b4-202c-73f1-984d-9a55c88f9c83 Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Yawn Sculpt
|
||||
|
||||
Open `/view/sculpt` on the Yawn server (`npm run server`). All example code lives here; the only integration outside this folder is the embedded-page route in `server/app.go`. Rendering imports **only `@yawn/core`**. No handles, third-party scene graph, or remote document storage.
|
||||
Open `/sculpt` on the Yawn server (`npm run server`); `/view/sculpt` remains a compatibility alias. The production Docker image embeds this example, so the existing main-branch deployment poller publishes it at `/sculpt` with each deployment. All example code lives here; the only integration outside this folder is the embedded-page route in `server/app.go`. Rendering imports **only `@yawn/core`**. No handles, third-party scene graph, or remote document storage.
|
||||
|
||||
## Workflow
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Run explicitly in a fresh /view/sculpt page:
|
||||
// Run explicitly in a fresh /sculpt page:
|
||||
// await (await import('/assets/sculpt/browser-check.js')).check()
|
||||
// Synthetic input checks logic, not physical pen feel. Hooks are always restored.
|
||||
import { Renderer } from "./renderer.js";
|
||||
|
||||
Reference in New Issue
Block a user