5 changed files with 64 additions and 10 deletions
@ -0,0 +1 @@ |
|||||
|
config.js |
||||
@ -0,0 +1,17 @@ |
|||||
|
/* |
||||
|
* Sample config file for the Beer UI |
||||
|
* |
||||
|
* Usage: edit this file and save it as "config.js" |
||||
|
*/ |
||||
|
define(function(require, exports, module) { |
||||
|
module.exports = { |
||||
|
// The base URL of the Beer API |
||||
|
baseURL: "http://microcks/rest/Beer%20Catalog%20API/0.9", |
||||
|
|
||||
|
// If a user-key is required, you can pass it as HTTP Header: |
||||
|
additionalHeaders: { "user-key": "<YOUR USER KEY HERE>" }, |
||||
|
|
||||
|
// Or in the Query String |
||||
|
extraQueryStringSuffix: "user_key=<YOUR USER KEY HERE>" |
||||
|
}; |
||||
|
}); |
||||
@ -0,0 +1,33 @@ |
|||||
|
define(function(require, exports, module) { |
||||
|
module.exports = { |
||||
|
"Austria": "🇦🇹", |
||||
|
"Belgium": "🇧🇪", |
||||
|
"Bulgaria": "🇧🇬", |
||||
|
"Croatia": "🇭🇷", |
||||
|
"Cyprus": "🇨🇾", |
||||
|
"The Czech Republic": "🇨🇿", |
||||
|
"Denmark": "🇩🇰", |
||||
|
"Estonia": "🇪🇪", |
||||
|
"Finland": "🇫🇮", |
||||
|
"France": "🇫🇷", |
||||
|
"Germany": "🇩🇪", |
||||
|
"Gibraltar": "🇬🇮", |
||||
|
"Greece": "🇬🇷", |
||||
|
"Hungary": "🇭🇺", |
||||
|
"Ireland": "🇮🇪", |
||||
|
"Italy": "🇮🇹", |
||||
|
"Latvia": "🇱🇻", |
||||
|
"Lithuania": "🇱🇹", |
||||
|
"Luxembourg": "🇱🇺", |
||||
|
"Malta": "🇲🇹", |
||||
|
"The Netherlands": "🇳🇱", |
||||
|
"Poland": "🇵🇱", |
||||
|
"Portugal": "🇵🇹", |
||||
|
"România": "🇷🇴", |
||||
|
"Slovakia": "🇸🇰", |
||||
|
"Slovenia": "🇸🇮", |
||||
|
"Spain": "🇪🇸", |
||||
|
"Sweden": "🇸🇪", |
||||
|
"United Kingdom": "🇬🇧" |
||||
|
}; |
||||
|
}); |
||||
Loading…
Reference in new issue