/* eslint-disable indent */12module.exports = {3server: { //local server configuration block4port: 8088, // [required]5},6proxy: { //reverse proxy configuration block7changeOrigin: true,8secure: true,9disabled: false, //Disable proxy, only locally available files will be served10},11proxies: [ // ... it's kind'of required block12{13path: '/services', // [required] poxed url path to target14target: 'http://google.com', // [required] proxy target15// This mean all request done to http://localhost:8088/services/*16// will be delegated to http://google.com/services/*17cache: { //cache configuration block18enabled: true, //save new cache files & serve them when match request19meta: false, //TODO: store request/response meta (headers, resp code)20//When set to false all cached files will be served with 200 response code with minimum meta data21hashing: true, //TODO: file names will contain crc32 hash based on query & payload request, instead of plain text22madCache: true, //TODO: cache all request's (even 404) will be cached as success (200)23//Requires disabled meta storing24filtering: { //describes what should be cached25//TODO26},27},28},29{30path: '/public',31target: '../assets/public', //target can point to local directory as well32//this will work as simply static server33cache: {34enabled: false, //sorry but caching local files is not supported at the moment35},36},37{38path: '/',39target: '../other_public/index.html', // serving single file ? wny not ?40},41],42mock: './mockDir', //directory for cached files43log: 'DEBUG', // logging level [ALL, DEBUG, INFO, WARN, ERROR, FATAL, OFF]44};454647