Skip to content

Commit

Permalink
cleanup (some) stuff in data.js
Browse files Browse the repository at this point in the history
- testing github action
  • Loading branch information
rediris committed Nov 13, 2024
1 parent 8d6739c commit 3da62ae
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/_data/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ const DATA_URL = process.env.DATA_URL || 'https://data.gym.soy';

// Individual job API: https://cloudwall.aquent.com/api/v1/jobpostings/189094

// const MARKET_FEED = 'https://assets.aquent.com/apps/gym/markets.json';

const MARKET_FEED2 = 'https://aquentllc.wpengine.com/feeds/gymnasium-markets.json';
const MARKET_FEED = 'https://aquentllc.wpengine.com/feeds/gymnasium-markets.json';

// const JOB_FEED = 'https://aquentllc.wpengine.com/wp-json/aq-central/v1/jobs/listing?pageSize=500';

Expand All @@ -35,12 +33,7 @@ module.exports = async function() {
type: "json"
});

// let markets = await EleventyFetch(MARKET_FEED, {
// duration: ENV === ('dev' || 'development' || 'default' || 'local') ? 0 : '24h',
// type: "json"
// });

let markets2 = await EleventyFetch(MARKET_FEED2, {
let markets2 = await EleventyFetch(MARKET_FEED, {
duration: ENV === ('dev' || 'development' || 'default' || 'local') ? 0 : '24h',
type: "json"
});
Expand Down

0 comments on commit 3da62ae

Please sign in to comment.