mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 07:39:29 -07:00
squeeze preview format into available space
This commit is contained in:
@@ -113,7 +113,7 @@ let { version } = JSON.parse(packageJson);
|
||||
const previewVersion = async () => {
|
||||
// generate a unique timestamp for cache invalidation of the preview site
|
||||
const now = DateTime.utc();
|
||||
version = now.toFormat('yyyyLLddHHmmss')
|
||||
version = now.toFormat('yyyyLLddHHmm').substring(3);
|
||||
};
|
||||
|
||||
const compressHtml = async () => src(htmlSources)
|
||||
|
||||
Reference in New Issue
Block a user