From 51694c0b23ae50dde46cfe3cf6e071d302518813 Mon Sep 17 00:00:00 2001 From: David Claeys Date: Fri, 31 May 2024 10:33:22 +0200 Subject: [PATCH] update version path --- sites/pickx.be/pickx.be.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sites/pickx.be/pickx.be.config.js b/sites/pickx.be/pickx.be.config.js index dc75f0ab..b5dc17d0 100644 --- a/sites/pickx.be/pickx.be.config.js +++ b/sites/pickx.be/pickx.be.config.js @@ -139,10 +139,12 @@ function fetchApiVersion() { //history of used version urls //const versionUrl = 'https://www.pickx.be/api/s-3b36540f3cef64510112f3f95c2c0cdca321997ed2b1042ad778523235e155eb' //const versionUrl = 'https://www.pickx.be/api/s-671f172425e1bc74cd0440fd67aaa6cbe68b582f3f401186c2f46ae97e80516b' + //const versionUrl = 'https://www.pickx.be/api/s-a6b4b4fefaa20e438523a6167e63b8504d96b9df8303473349763c4418cffe30' //the new strategy to break the provider is to leave old version url's available and to return invalid results on those endpoints - const versionUrl = 'https://www.pickx.be/api/s-a6b4b4fefaa20e438523a6167e63b8504d96b9df8303473349763c4418cffe30' + const versionUrl = 'https://www.pickx.be/api/s-8546c5fd136241d42aab714d2fe3ccc5671fd899035efae07cd0b8f4eb23994e' + const response = await axios.get(versionUrl, { headers: { 'Origin': 'https://www.pickx.be',