Skip to content
Snippets Groups Projects
Select Git revision
  • 6ebea867db38a0fb9af4198b0a98fb1c16e8748c
  • main default protected
2 results

fourmi.h

Blame
  • app.ts 825 B
    // Read from the .env file
    // ATTENTION : This lines MUST be the first of this file (except for the path import)
    const path = require('node:path');
    const myEnv = require('dotenv').config({
                                               path      : path.join(__dirname, '../.env'),
                                               DOTENV_KEY: 'dotenv://:key_fc323d8e0a02349342f1c6a119bb38495958ce3a43a87d19a3f674b7e2896dcb@dotenv.local/vault/.env.vault?environment=development'
                                           });
    require('dotenv-expand').expand(myEnv);
    require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file
    
    
    import CommanderApp from './commander/CommanderApp';
    import HttpManager  from './managers/HttpManager';
    
    
    HttpManager.registerAxiosInterceptor();
    
    new CommanderApp();