Skip to content

Commit 218d111

Browse files
committed
fix: update API base URL and session cookie name for production
1 parent 75e6f90 commit 218d111

File tree

6 files changed

+78
-68
lines changed

6 files changed

+78
-68
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,14 @@ storybook-static
5454
.locales-cache
5555

5656
# Terraform
57+
.terraform/
58+
*.tfstate
59+
*.tfstate.*
5760
*.tfvars
61+
*.tfvars.json
62+
crash.log
63+
override.tf
64+
override.tf.json
65+
*_override.tf
66+
*_override.tf.json
67+
.terraform.lock.hcl

frontend/public/static/docs.gen/info.gen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "Cella DEVELOPMENT API",
2+
"title": "Cella API",
33
"version": "v1",
44
"description": "⚠️ ATTENTION: PRERELEASE! \n This API is organized into modules based on logical domains (e.g. `auth`, `organizations`, `memberships`).\n Each module includes a set of endpoints that expose functionality related to a specific resource or cross resource logic.\n\n The documentation is generated from source code using `zod` schemas, converted into OpenAPI via `zod-openapi` and served through the `hono` framework.",
55
"openapiVersion": "3.1.0",

frontend/public/static/openapi.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"servers": [
33
{
4-
"url": "http://localhost:4000"
4+
"url": "https://api.cellajs.com"
55
}
66
],
77
"info": {
8-
"title": "Cella DEVELOPMENT API",
8+
"title": "Cella API",
99
"version": "v1",
1010
"description": "⚠️ ATTENTION: PRERELEASE! \n This API is organized into modules based on logical domains (e.g. `auth`, `organizations`, `memberships`).\n Each module includes a set of endpoints that expose functionality related to a specific resource or cross resource logic.\n\n The documentation is generated from source code using `zod` schemas, converted into OpenAPI via `zod-openapi` and served through the `hono` framework.",
1111
"x-extensions": [
@@ -171,7 +171,7 @@
171171
"cookieAuth": {
172172
"type": "apiKey",
173173
"in": "cookie",
174-
"name": "cella-development-session-v1",
174+
"name": "cella-session-v1",
175175
"description": "Authentication cookie. Copy cookie from your network tab and paste it here. If you don't have it, you need to sign in or sign up first."
176176
}
177177
},

frontend/src/api.gen/client.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ export type CreateClientConfig<T extends ClientOptions = ClientOptions2> = (
1818
) => Config<Required<ClientOptions> & T>;
1919

2020
export const client = createClient(
21-
createClientConfig(createConfig<ClientOptions2>({ baseUrl: 'http://localhost:4000', throwOnError: true })),
21+
createClientConfig(createConfig<ClientOptions2>({ baseUrl: 'https://api.cellajs.com', throwOnError: true })),
2222
);

0 commit comments

Comments
 (0)