diff --git a/doc/deployment.md b/doc/deployment.md index 2e51a8c..ac604da 100644 --- a/doc/deployment.md +++ b/doc/deployment.md @@ -208,8 +208,10 @@ Browser clients are static files published by the host, and must match the server's API paths: - **Web client:** copy `internal/server/webserver/chess-client-web/` - (`index.html`, `app.js`, `style.css`) to the site directory. Without the - embedded `/config` endpoint, it uses the `/chess` API prefix. + (`index.html`, `app.js`, `style.css`) to the site directory. It takes its + API base from its script element, ``, + "twice": ``, + } { + content := fstest.MapFS{"index.html": {Data: []byte(page)}} + if _, err := indexHTML(content, "http://localhost:8080"); err == nil { + t.Errorf("%s: no error", name) + } + } +}