From 96558a0cf7982fa9ffea1aafa3cf8250c6636bec Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Wed, 16 Feb 2022 12:26:37 +0100 Subject: [PATCH] updating example config --- src/example.config.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 + } + } }