Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Formatting the config
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Dec 31, 2016
1 parent 14ef5e3 commit b9b513a
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions client/configuration/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
angular.module('config', [])

.constant('ENV', {RequiresAuth:false,dataSource:'etcd',etcdHost:'127.0.0.1',etcdPort:'4001',hobknobHost:'localhost',hobknobPort:'3006',loadBalancerFile:'/etc/lbstatus/hobknob',categories:[{id:0,name:'Simple Features',description:'Use when you want your feature to be either on or off'},{id:1,name:'Domain Features',description:'Use when you want your features to be toggled separately for different domains (e.g. com, couk, fr, ...)',values:['com','couk','de','fr']},{id:2,name:'Locale Features',description:'Use when you want your features to be toggled separately for different locales (e.g. en-GB, en-US, fr-FR, ...)',values:['en-GB','en-US','fr-FR','de-DE']}],plugin:{path:'../server/examplePlugin.js'},hooks:['server/exampleHook.js'],customization:{logo:'/img/opentable-hr-mono.png',title:'Opentable Feature Toggles'}})

;
.constant('ENV', {
RequiresAuth: false,
dataSource: 'etcd',
etcdHost: '127.0.0.1',
etcdPort: '4001',
hobknobHost: 'localhost',
hobknobPort: '3006',
loadBalancerFile: '/etc/lbstatus/hobknob',
categories: [{
id: 0,
name: 'Simple Features',
description: 'Use when you want your feature to be either on or off'
}, {
id: 1,
name: 'Domain Features',
description: 'Use when you want your features to be toggled separately for different domains (e.g. com, couk, fr, ...)',
values: ['com', 'couk', 'de', 'fr']
}, {
id: 2,
name: 'Locale Features',
description: 'Use when you want your features to be toggled separately for different locales (e.g. en-GB, en-US, fr-FR, ...)',
values: ['en-GB', 'en-US', 'fr-FR', 'de-DE']
}],
plugin: {
path: '../server/examplePlugin.js'
},
hooks: ['server/exampleHook.js'],
customization: {
logo: '/img/opentable-hr-mono.png',
title: 'Opentable Feature Toggles'
}
});

0 comments on commit b9b513a

Please sign in to comment.