diff --git a/src/server/config.ts b/src/server/config.ts index 4b2bd162..74020d78 100644 --- a/src/server/config.ts +++ b/src/server/config.ts @@ -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 = { diff --git a/src/server/server.ts b/src/server/server.ts index 8dcf71cb..24391bba 100644 --- a/src/server/server.ts +++ b/src/server/server.ts @@ -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) => {