mirror of
https://github.com/pure-css/pure
synced 2024-11-22 05:32:20 +01:00
fix: encoding value to match spec
This commit is contained in:
parent
a34fe62bad
commit
c3799b5274
@ -5,7 +5,7 @@ const path = require('path');
|
||||
const { version } = require('../../package.json');
|
||||
|
||||
const pureDir = path.resolve(__dirname, '..', 'static', 'css', 'pure');
|
||||
const pureMin = fs.readFileSync(path.resolve(pureDir, 'pure-min.css'), 'utf-8');
|
||||
const pureMin = fs.readFileSync(path.resolve(pureDir, 'pure-min.css'), 'utf8');
|
||||
|
||||
// use pure-min.css to determine site integrity hash
|
||||
const sriHash = crypto.createHash('sha384').update(pureMin, 'utf8').digest('base64');
|
||||
|
Loading…
Reference in New Issue
Block a user