basically the `setupDevPlatform` call can stay as is, what you need to change is `getRequestContext`

basically the
setupDevPlatform
call can stay as is, what you need to change is
getRequestContext
and make sure that it is not being called as part of the route initialization (e.g. don't put
getRequestContext()
to the top level of a route file, but have it part of a function that gets called when the route is actually run)
Was this page helpful?