Browse Source

default devserver config

Rafał Pitoń 10 years ago
parent
commit
edce738570
2 changed files with 3 additions and 3 deletions
  1. 3 1
      misago/emberapp/.ember-cli
  2. 0 2
      misago/emberapp/config/environment.js

+ 3 - 1
misago/emberapp/.ember-cli

@@ -5,5 +5,7 @@
 
 
     Setting `disableAnalytics` to true will prevent any data from being sent.
     Setting `disableAnalytics` to true will prevent any data from being sent.
   */
   */
-  "disableAnalytics": false
+  "disableAnalytics": false,
+  "liveReload" : false,
+  "proxy": "http://localhost:8000"
 }
 }

+ 0 - 2
misago/emberapp/config/environment.js

@@ -41,8 +41,6 @@ module.exports = function(environment) {
       'style-src': "'self' 'unsafe-inline' http://fonts.googleapis.com", // Allow inline styles and loaded CSS from http://fonts.googleapis.com
       'style-src': "'self' 'unsafe-inline' http://fonts.googleapis.com", // Allow inline styles and loaded CSS from http://fonts.googleapis.com
       'media-src': "'self'"
       'media-src': "'self'"
     }
     }
-
-    ENV.APP.API_HOST = 'http://localhost:8000';
   }
   }
 
 
   if (environment === 'test') {
   if (environment === 'test') {