Skip to content

Commit

Permalink
Rename APP_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
david1542 committed Aug 6, 2024
1 parent cd9276d commit 789d27c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/api/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECRET_MANAGER_TYPE=file
SECRET_MANAGER_DIRECTORY=../../data/dev/secrets
ENCRYPTION_SALT=1234567890123456
HASHICORP_VAULT_URL=http://localhost:8202
APP_URL=http://localhost:5173
DASHBOARD_APP_URL=http://localhost:5173
MONGO_URI=mongodb://localhost:27017/merlinn-db
KRATOS_PUBLIC_URL="http://localhost:4433"
KRATOS_ADMIN_URL="http://localhost:4434"
Expand Down
2 changes: 1 addition & 1 deletion services/api/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const app = express();
app.use(
cors({
credentials: true,
origin: process.env.APP_URL,
origin: process.env.DASHBOARD_APP_URL,
}),
);

Expand Down

0 comments on commit 789d27c

Please sign in to comment.