Move Google Fonts API key to constants
This commit is contained in:
parent
630277b896
commit
969158a6c2
|
|
@ -122,3 +122,5 @@ export const AI_MODELS: ModelOption[] = [
|
|||
]
|
||||
|
||||
export const DEFAULT_AI_MODEL = AI_MODELS[0].id
|
||||
|
||||
export const GOOGLE_FONTS_API_KEY = 'AIzaSyD1tYDR_dUEiV-Tw1vksEhZbUytgKW5pc8'
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ const BUNDLED_FONTS: Record<string, string> = {
|
|||
'Inter|Regular': '/Inter-Regular.ttf'
|
||||
}
|
||||
|
||||
const GOOGLE_FONTS_API_KEY = 'AIzaSyD1tYDR_dUEiV-Tw1vksEhZbUytgKW5pc8'
|
||||
import { GOOGLE_FONTS_API_KEY } from './constants'
|
||||
|
||||
const googleFontsCache = new Map<string, Record<string, string>>()
|
||||
const googleFontsFailed = new Set<string>()
|
||||
|
|
|
|||
Loading…
Reference in a new issue