Skip to content

Fix admin API paths and Puck CSP stylesheet import#69

Merged
AJFrio merged 1 commit into
mainfrom
fix/admin-api-endpoints-puck-css
May 28, 2026
Merged

Fix admin API paths and Puck CSP stylesheet import#69
AJFrio merged 1 commit into
mainfrom
fix/admin-api-endpoints-puck-css

Conversation

@AJFrio

@AJFrio AJFrio commented May 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix ProductWorkspace store-settings fetch to use /api/admin/store-settings
  • Fix FulfillmentPage order list and fulfill endpoints to use /api/admin/analytics/orders
  • Switch PuckPageEditor to @puckeditor/core/no-external.css for CSP compatibility

Test plan

  • npm run harness:validate
  • npm test -- --run
  • npm run build
  • Verify fulfillment page loads orders in admin
  • Verify product workspace loads store settings
  • Verify Puck page editor renders without CSP violations

Made with Cursor

Correct store-settings and fulfillment order endpoints to match the worker routes, and switch Puck to no-external.css so the page editor loads under CSP.

Co-authored-by: Cursor <cursoragent@cursor.com>
@AJFrio AJFrio merged commit 5191050 into main May 28, 2026
2 checks passed
@AJFrio AJFrio deleted the fix/admin-api-endpoints-puck-css branch May 28, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant