SIGN IN SIGN UP

refactor(server): extract createApp function for server initialization

- Replace Server.App() with Server.Default() for internal server access
- Extract server app creation into Server.createApp(opts) for testability
- Move CORS whitelist from module-level variable to function parameter
- Update all tests to use Server.Default() instead of Server.App()
D
Dax Raad committed
89d6f60d254028834ba340958d373c0f3199f631
Parent: ee18c99