If I don’t set a `basePath` in the config here: <h...
# talk-kratos
q
If I don’t set a
basePath
in the config here: https://github.com/ory/kratos-selfservice-ui-react-nextjs/blob/master/pkg/sdk/index.ts then I get the following error:
If I do something like
Copy code
export const oryBrowserClient = new V0alpha2Api(
  new Configuration({ ...edgeConfig, basePath: "<http://localhost:3000/api/.ory>" }),
);
it works fine, but obviously will break when deploying