| Clean up and simplify async handling

This commit is contained in:
2026-05-19 01:35:46 +03:00
parent 135ca8d107
commit 31fd24335a
6 changed files with 594 additions and 57 deletions

View File

@@ -36,6 +36,7 @@ dist/
```
Lune SSG (Static Site Generator) produces:
- `index.html` — a listing page for all plugins in your monorepo
- `<plugin-name>/index.html` — individual documentation pages for each plugin
- `plugin.js` — the bundled plugin code (all JSX/JS sources bundled into a single file)
@@ -222,7 +223,7 @@ location / {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'Content-Type';
if ($request_method = 'OPTIONS') {
return 204;
}