anasmohammed361/sveltekit-rest

Issue with SSR and Client.

Opened this issue · 0 comments

The current setup exposes the server code to client .
Fix:

  • Rewrite the CreateRestInterface to individual functions , invoking the intended functions from server only modules.
  • Invoking the Browser client from regular module .