Spaces:
Paused
Paused
Update src/cache.js
Browse files- src/cache.js +1 -1
src/cache.js
CHANGED
|
@@ -4,7 +4,7 @@ const fs = require('fs');
|
|
| 4 |
const path = require('path');
|
| 5 |
const axios = require('axios');
|
| 6 |
const { CACHE_CATALOG_CONTENT_DURATION_DAYS, CACHE_POSTER_CONTENT_DURATION_DAYS } = process.env;
|
| 7 |
-
const baseUrl = process.env.BASE_URL || 'http://localhost:
|
| 8 |
|
| 9 |
const defaultCacheDurationDays = 3;
|
| 10 |
const cacheCatalogDurationDays = parseInt(CACHE_CATALOG_CONTENT_DURATION_DAYS, 10) || defaultCacheDurationDays;
|
|
|
|
| 4 |
const path = require('path');
|
| 5 |
const axios = require('axios');
|
| 6 |
const { CACHE_CATALOG_CONTENT_DURATION_DAYS, CACHE_POSTER_CONTENT_DURATION_DAYS } = process.env;
|
| 7 |
+
const baseUrl = process.env.BASE_URL || 'http://localhost:3000';
|
| 8 |
|
| 9 |
const defaultCacheDurationDays = 3;
|
| 10 |
const cacheCatalogDurationDays = parseInt(CACHE_CATALOG_CONTENT_DURATION_DAYS, 10) || defaultCacheDurationDays;
|