thundercode commited on
Commit
6806bee
·
verified ·
1 Parent(s): c049289

release: add docs/FRONTEND.md

Browse files
Files changed (1) hide show
  1. docs/FRONTEND.md +2 -2
docs/FRONTEND.md CHANGED
@@ -276,7 +276,7 @@ handle), its state machine, its two drivers, and its event rendering.
276
  `frontend/mission.html` is 297 lines. Its `<head>` carries the live API base:
277
 
278
  ```html
279
- <meta name="satquery-api-base" content="https://satquery-backend-m4yv.onrender.com">
280
  ```
281
 
282
  That meta tag is the second entry in the API-base resolution order (see §5.4). The page loads three
@@ -451,7 +451,7 @@ has modality-specific requirements. `assetsForTask()` assembles the asset list t
451
 
452
  1. `window.SATQUERY_API_BASE` (a runtime override, useful for testing), then
453
  2. `<meta name="satquery-api-base">` (the page's declared base — on `mission.html` this is
454
- `https://satquery-backend-m4yv.onrender.com`), then
455
  3. the default `/api` (a same-origin path).
456
 
457
  `_normalizeBase()` normalises trailing slashes, and `SQ.live.url()` composes the final URL.
 
276
  `frontend/mission.html` is 297 lines. Its `<head>` carries the live API base:
277
 
278
  ```html
279
+ <meta name="satquery-api-base" content="https://<backend-host>">
280
  ```
281
 
282
  That meta tag is the second entry in the API-base resolution order (see §5.4). The page loads three
 
451
 
452
  1. `window.SATQUERY_API_BASE` (a runtime override, useful for testing), then
453
  2. `<meta name="satquery-api-base">` (the page's declared base — on `mission.html` this is
454
+ `https://<backend-host>`), then
455
  3. the default `/api` (a same-origin path).
456
 
457
  `_normalizeBase()` normalises trailing slashes, and `SQ.live.url()` composes the final URL.