1
0
Fork 0
mirror of https://codeberg.org/MarkusThielker/next-ory.git synced 2025-07-01 20:49:18 +00:00

NORY-56: fix default Keto configuration

This commit is contained in:
Markus Thielker 2025-01-27 22:37:26 +01:00
parent 38488d71e8
commit fc4c890959
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -126,7 +126,7 @@ export async function getRelationshipApi() {
const permissionApi = new PermissionApi(new Configuration(
{
basePath: process.env.ORY_KETO_ADMIN_URL,
basePath: process.env.NEXT_PUBLIC_ORY_KETO_URL,
baseOptions: {
withCredentials: true,
},
@ -144,7 +144,7 @@ export async function getPermissionApi() {
const ketoMetadataApi = new MetadataApi(new Configuration(
{
basePath: process.env.ORY_KETO_ADMIN_URL,
basePath: process.env.NEXT_PUBLIC_ORY_KETO_URL,
baseOptions: {
withCredentials: true,
},