mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 06:00:53 +03:00
formatting update
This commit is contained in:
@@ -5,10 +5,13 @@ module.exports = function(state) {
|
||||
// return '';
|
||||
return state.cspNonce
|
||||
? html`
|
||||
<script nonce="${state.cspNonce}">
|
||||
const downloadMetadata = ${
|
||||
state.downloadMetadata ? raw(JSON.stringify(state.downloadMetadata)) : '{}'
|
||||
};
|
||||
</script>`
|
||||
<script nonce="${state.cspNonce}">
|
||||
const downloadMetadata = ${
|
||||
state.downloadMetadata
|
||||
? raw(JSON.stringify(state.downloadMetadata))
|
||||
: '{}'
|
||||
};
|
||||
</script>
|
||||
`
|
||||
: '';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user