aboutsummaryrefslogtreecommitdiff
path: root/vnext/server
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/server')
-rw-r--r--vnext/server/sape.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/vnext/server/sape.js b/vnext/server/sape.js
index d8c9e2ed..ad374f2b 100644
--- a/vnext/server/sape.js
+++ b/vnext/server/sape.js
@@ -1,8 +1,9 @@
import { parseStringPromise } from 'xml2js';
import axios from 'axios';
import { setupCache } from 'axios-cache-interceptor';
+import config from 'config';
-const token = process.env.SAPE_TOKEN;
+const token = config.get('service.sape.token') || process.env.SAPE_TOKEN;
/** @external Promise */