Skip to content

Commit b5a9900

Browse files
committed
chore: restore Azure URL as default in seed script
1 parent 53d6efe commit b5a9900

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

seed-data.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Seed script for FlowOps - Run with: node seed-data.js
2-
3-
// Change to localhost for local testing, or use Azure backend for production
4-
const API_URL = process.env.API_URL || 'http://localhost:3001/api';
5-
// const API_URL = 'https://flowops-backend.azurewebsites.net/api';
2+
// Use API_URL=http://localhost:3001/api node seed-data.js for local testing
3+
const API_URL = process.env.API_URL || 'https://flowops-backend.azurewebsites.net/api';
64

75
async function seedData() {
86
console.log('🌱 Seeding FlowOps database...\n');

0 commit comments

Comments
 (0)