Skip to content

Commit

Permalink
Address requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
deepjyoti30Alt committed Sep 5, 2024
1 parent a26942a commit 793925a
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-cf-worker-hono.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
TEST_DEPLOYED_VERSION: true
defaults:
run:
working-directory: examples/cloudflare-workers/with-be-emailpassword
working-directory: examples/cloudflare-workers/with-email-password-hono-be-only
steps:
- uses: actions/checkout@v2
- run: echo $GITHUB_SHA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ app.use("*", async (c, next) => {
});

// This exposes all the APIs from SuperTokens to the client.
// and adds the session to the request object if one exists.
app.use("*", middleware());

// An example API that requires session verification
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "with-be-email-password-hono",
"name": "with-email-password-hono-be-only",
"version": "0.0.1",
"private": true,
"description": "",
Expand Down
2 changes: 1 addition & 1 deletion lib/build/framework/constants.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @ts-nocheck
export declare const COOKIE_HEADER = "Set-Cookie";
export declare const BROTLI_DECOMPRESSION_ERROR_MESSAGE =
"Brotli decompression not implement, use a middleware instead";
"Brotli decompression not implement, Please add a middleware that handles decompression before the SuperTokens middleware.";
3 changes: 2 additions & 1 deletion lib/build/framework/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ exports.BROTLI_DECOMPRESSION_ERROR_MESSAGE = exports.COOKIE_HEADER = void 0;
*/
exports.COOKIE_HEADER = "Set-Cookie";
// Define error message for brotli decompression not being supported
exports.BROTLI_DECOMPRESSION_ERROR_MESSAGE = "Brotli decompression not implement, use a middleware instead";
exports.BROTLI_DECOMPRESSION_ERROR_MESSAGE =
"Brotli decompression not implement, Please add a middleware that handles decompression before the SuperTokens middleware.";
3 changes: 2 additions & 1 deletion lib/ts/framework/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@
export const COOKIE_HEADER = "Set-Cookie";

// Define error message for brotli decompression not being supported
export const BROTLI_DECOMPRESSION_ERROR_MESSAGE = "Brotli decompression not implement, use a middleware instead";
export const BROTLI_DECOMPRESSION_ERROR_MESSAGE =
"Brotli decompression not implement, Please add a middleware that handles decompression before the SuperTokens middleware.";

0 comments on commit 793925a

Please sign in to comment.