diff --git a/src/example.config.js b/src/example.config.js index 31c18be..af45c54 100644 --- a/src/example.config.js +++ b/src/example.config.js @@ -8,5 +8,12 @@ export default { path: 'data/timemap_data.xlsx', tabs: timemap.default } - ] + ], + cors: { + active: false, + corsOptions: { // meaningless unless active=true + origin: 'http://example.com', + optionsSuccessStatus: 200 // some legacy browsers (IE11, various SmartTVs) choke on 204 + } + } }