diff --git a/utils/api.tsx b/utils/api.tsx index dbc2d437..02c70ae5 100644 --- a/utils/api.tsx +++ b/utils/api.tsx @@ -210,7 +210,7 @@ class Api { } } -const api: Api = new Api({ url: process.env.NEXT_PUBLIC_SIERO_API_URL || 'https://localhost:3000/api/v1'}) +const api: Api = new Api({ url: process.env.NEXT_PUBLIC_SIERO_API_URL || 'https://localhost:3000/v1'}) api.createEntity({ name: 'users' }) api.createEntity({ name: 'parties' }) api.createEntity({ name: 'characters' })