blob: 05dc6023599de7209d93562f6e0ad027e5998247 [file]
// Add COOP and COEP headers required for OPFS VFS for SQLite WASM
// See: https://sqlite.org/wasm/doc/trunk/persistence.md#vfs-opfs
;(function(config) {
config.customHeaders = [
{
match: '.*',
name: 'Cross-Origin-Opener-Policy',
value: 'same-origin'
},
{
match: '.*',
name: 'Cross-Origin-Embedder-Policy',
value: 'require-corp'
}
];
})(config);