Skip to content

Commit 560b51c

Browse files
committed
fix playlist preload
1 parent e8f69ce commit 560b51c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gulp/publish-frontend.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const uploadSources = [
138138
'dist/**',
139139
'!dist/**/*.map',
140140
];
141-
const upload = () => src(uploadSources, { base: './dist' })
141+
const upload = () => src(uploadSources, { base: './dist', encoding: false })
142142
.pipe(s3({
143143
Bucket: 'weatherstar',
144144
StorageClass: 'STANDARD',

views/index.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
1515
<link rel="manifest" href="manifest.json" />
1616
<link rel="icon" href="images/Logo192.png" />
17-
<link rel="preload" href="playlist.json" />
17+
<link rel="preload" href="playlist.json" as="fetch"/>
1818
<meta property="og:image" content="https://weatherstar.netbymatt.com/images/social/1200x600.png">
1919
<meta property="og:image:width" content="1200">
2020
<meta property="og:image:height" content="627">

0 commit comments

Comments
 (0)