Skip to content

Commit

Permalink
fix(server): fixes issuer host configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelruocco committed May 13, 2024
1 parent a3adaf4 commit 479267f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/server/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface Config {
TokenConfig: TokenConfig;
}

const hostname = process.env.HOST ?? "localhost";
const hostname = process.env.ISSUER_HOST ?? "localhost";
const port = process.env.PORT ?? "9229";

export const DefaultConfig: Config = {
Expand Down
2 changes: 1 addition & 1 deletion src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const createServer = (
});
});

const hostname = process.env.HOST ?? "localhost";
const hostname = process.env.ISSUER_HOST ?? "localhost";
const port = process.env.PORT ?? "9229";

app.get("/:userPoolId/.well-known/openid-configuration", (req, res) => {
Expand Down

0 comments on commit 479267f

Please sign in to comment.