Fix designer file writing and CSP for CDN assets
- Designer now uses state.bucket_name (like app_generator) instead of DB lookup
- Fixed local file path to match app_server fallback: {site_path}/{bot}.gbai/{bot}.gbapp/{app}/{file}
- Fixed S3 path to match app_server: {bot}.gbapp/{app}/{file} in bucket {bot}.gbai
- Added S3 bucket creation retry logic (like app_generator)
- Updated CSP to allow unpkg.com, cdnjs.cloudflare.com, cdn.jsdelivr.net for scripts/styles
- Added fonts.googleapis.com and fonts.gstatic.com for web fonts
- Updated APP_GENERATOR_PROMPT to use HTMX CDN instead of non-existent /js/vendor path
- Added designer prompt guidelines for relative asset paths
This commit is contained in:
parent
3fef4ac09d
commit
e75049d5fb
1 changed files with 1 additions and 1 deletions
2
botui
2
botui
|
|
@ -1 +1 @@
|
|||
Subproject commit 580c9072d48c773485a841eb2056d31d3ea4394d
|
||||
Subproject commit 2c852715f8c82daee8a9a8f8ea17f3561132728d
|
||||
Loading…
Add table
Reference in a new issue