Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
config.js 245 B
Newer Older
  • Learn to ignore specific revisions
  • const ENV = "dev";
    
    let server_url;
    
    switch (ENV) {
        case "dev":
            server_url = "http://localhost:9000";
            break;
        case "prod":
            server_url = "http://your_production_server_url:port";
    }
    
    module.exports = { server_url };