mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* update csv export text * fix pw tests * base layout and customization for home page and search results page * refactor rest of the pages * refactor AppError * move header padding to layout * move nextjs utils to separate folder * combine PageServer and Page * make useQueryClientConfig hook * add tests * remove unused var * fix envs for pw * fix pw tests
19 lines
349 B
TypeScript
19 lines
349 B
TypeScript
import type CspDev from 'csp-dev';
|
|
|
|
export function googleFonts(): CspDev.DirectiveDescriptor {
|
|
// we use Inter and Poppins in the app
|
|
|
|
return {
|
|
'connect-src': [
|
|
'fonts.gstatic.com',
|
|
],
|
|
'style-src': [
|
|
'fonts.googleapis.com',
|
|
],
|
|
'font-src': [
|
|
'fonts.gstatic.com',
|
|
'fonts.googleapis.com',
|
|
],
|
|
};
|
|
}
|