https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
q

quiet-intern-84955

12/10/2021, 4:56 PM
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