dev-config.ts 552 B

12345678910111213141516171819202122
  1. import { API_PATH, API_PORT } from '../shared/shared-constants';
  2. import { VendureConfig } from './src/config/vendure-config';
  3. /**
  4. * Config settings used during development
  5. */
  6. export const devConfig: VendureConfig = {
  7. port: API_PORT,
  8. apiPath: API_PATH,
  9. cors: true,
  10. jwtSecret: 'some-secret',
  11. dbConnectionOptions: {
  12. type: 'mysql',
  13. synchronize: true,
  14. logging: true,
  15. host: '192.168.99.100',
  16. port: 3306,
  17. username: 'root',
  18. password: '',
  19. database: 'vendure-dev',
  20. },
  21. };