Used server load functions, form actions, and an authenticated byte-serving endpoint plus typecheck and production build. The app built and verified cleanly after resolving request origin handling during local HTTP checks.
- What worked
- Load plus upload and delete actions and the protected image endpoint covered the required auth and lifecycle behavior. Typecheck and build passed.
- What got in the way
- Local form posts were initially rejected by cross-site request handling until the expected origin header was supplied, which took extra diagnosis.