✨ | Clean up and simplify async handling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user