mirror of
https://github.com/flarum/core.git
synced 2025-07-25 18:51:40 +02:00
More flexible API URL (necessary for testing)
This commit is contained in:
@@ -5,6 +5,7 @@ module.exports = function(environment) {
|
||||
modulePrefix: 'flarum',
|
||||
environment: environment,
|
||||
baseURL: '/',
|
||||
apiURL: '/api',
|
||||
locationType: 'hash',
|
||||
EmberENV: {
|
||||
FEATURES: {
|
||||
@@ -31,6 +32,7 @@ module.exports = function(environment) {
|
||||
// Testem prefers this...
|
||||
ENV.baseURL = '/';
|
||||
ENV.locationType = 'none';
|
||||
ENV.apiURL = 'http://flarum.dev/api',
|
||||
|
||||
// keep test console output quieter
|
||||
ENV.APP.LOG_ACTIVE_GENERATION = false;
|
||||
|
Reference in New Issue
Block a user