gocodebox/lifterlms-rest

Improve github pages (specs) cache busting

eri-trabiccolo opened this issue · 0 comments

... so that it's not tied to the pkg version but rather on the timestamp.

fs.writeFileSync( file, html.replace( `'./openapi.json'`, `'./openapi.json?v=${ pkg.version }'` ) );