Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is 'config.environment.js'? #94

Closed
bekharsky opened this issue Sep 8, 2015 · 1 comment
Closed

What is 'config.environment.js'? #94

bekharsky opened this issue Sep 8, 2015 · 1 comment

Comments

@bekharsky
Copy link
Contributor

When I use ember-cli, placing moment parameters into config/environment.js ENV-variable provide no effect. Where moment-parameters should be?

This config won't work:

/* jshint node: true */

module.exports = function(environment) {
  var ENV = {
    modulePrefix: 'client',
    environment: environment,
    baseURL: '/',
    locationType: 'auto',
    EmberENV: {
      FEATURES: {
        // Here you can enable experimental features on an ember canary build
        // e.g. 'with-controller': true
      }
    },
    APP: {
      // Here you can pass flags/options to your application instance
      // when it is created
      SERVER: 'http://10.10.39.12:10000/v0.3'
    },
    moment: {
      allowEmpty: true // default: false
    }
  };
...
@jasonmit
Copy link
Collaborator

jasonmit commented Sep 9, 2015

config/environment.js typo, sry

@jasonmit jasonmit closed this as completed Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants