Files
Filamenteka/config/environments.js
DaX b97032bf0c Clean up obsolete resources and update documentation
- Remove all DynamoDB-related scripts and data files
- Remove AWS SDK dependencies from scripts
- Update environment files to remove DynamoDB/Lambda references
- Update PROJECT_STRUCTURE.md to reflect current architecture
- Clean up Terraform variables and examples
- Add PLA Matte to special pricing (3999 RSD / 3499 RSD refill)
- Make all table columns sortable
- Remove old Terraform state backups
- Remove temporary data import files
2025-06-20 16:30:10 +02:00

19 lines
489 B
JavaScript

// Environment configuration
const environments = {
development: {
name: 'development',
apiUrl: process.env.NEXT_PUBLIC_API_URL || 'https://api.filamenteka.rs/api'
},
production: {
name: 'production',
apiUrl: process.env.NEXT_PUBLIC_API_URL
}
};
const currentEnv = process.env.NODE_ENV || 'development';
module.exports = {
env: environments[currentEnv] || environments.development,
isDev: currentEnv === 'development',
isProd: currentEnv === 'production'
};