chore: cache files overwritten during build

This commit is contained in:
Cory Dransfeldt 2024-04-03 21:30:45 -07:00
parent 8deff32772
commit 2d4efa2e74
No known key found for this signature in database
8 changed files with 9 additions and 14 deletions

View file

@ -17,7 +17,7 @@ What I've long wanted is something that sits on infrastructure I control, stores
Next, I went to work developing the edge function that would receive and deal with the data. I'm leveraging `luxon` for dealing with dates and [Netlify Blobs](https://docs.netlify.com/blobs/overview/) for persistence. I have a few different helper functions on hand as well:
```javascript
const sanitizeMediaString = (string) => string.normalize('NFD').replace(/[\u0300-\u036f\u2010—\.\?\(\)\[\]\{\}]/g, '').replace(/\.{3}/g, '');
const sanitizeMediaString = (string) => string.normalize('NFD').replace(/[\u0300-\u036f\u2010—\.\?\(\)\[\]\{\}]/g, '').replace(/\.{3}/g, '').replace(/A©|é/g, 'e');
const weekKey = () => {
const currentDate = DateTime.now();