Skip to content

Commit

Permalink
added deployment files
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijith-hr committed Feb 17, 2024
1 parent bcbc76a commit 2176c90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dotenv.config();
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.use(cors({
origin: ['http://localhost:3002'],
origin: ['http://85.215.128.232:3002', 'http://localhost:3002'],
credentials: true,
}));
app.use(cookieParser());
Expand Down
2 changes: 1 addition & 1 deletion frontend/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NEXT_PUBLIC_BACKEND_API_URL=http://factory50-backend:4002
NEXT_PUBLIC_BACKEND_API_URL=http://85.215.128.232:4002

0 comments on commit 2176c90

Please sign in to comment.