File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ export default defineNuxtConfig({
3434 runtimeConfig : {
3535 googleApiKey : process . env . NUXT_GOOGLE_API_KEY ,
3636 googleProgrammableSearchEngineId : process . env . NUXT_GOOGLE_PROGRAMMABLE_SEARCH_ENGINE_ID ,
37- appleMapKitTeamId : process . env . NUXT_APPLE_MAPKIT_TEAM_ID ,
38- appleMapKitKeyId : process . env . NUXT_APPLE_MAPKIT_KEY_ID ,
39- appleMapKitPrivateKey : process . env . NUXT_APPLE_MAPKIT_PRIVATE_KEY ,
37+ appleMapkitTeamId : process . env . NUXT_APPLE_MAPKIT_TEAM_ID ,
38+ appleMapkitKeyId : process . env . NUXT_APPLE_MAPKIT_KEY_ID ,
39+ appleMapkitPrivateKey : process . env . NUXT_APPLE_MAPKIT_PRIVATE_KEY ,
4040 public : {
4141 googleApiKey : process . env . NUXT_PUBLIC_GOOGLE_API_KEY ,
4242 posthogPublicKey : 'phc_NnyL6hYZBsre2WNUDrU3Zu6CDN7dpntH7stqhB0dnzu'
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ export async function generateAppleMapKitToken(): Promise<string> {
1717 const config = useRuntimeConfig ( )
1818
1919 // Check if we have environment variables for generating tokens
20- const teamId = config . appleMapKitTeamId
21- const keyId = config . appleMapKitKeyId
22- const privateKey = config . appleMapKitPrivateKey ? base64ToUtf8 ( config . appleMapKitPrivateKey ) : undefined
20+ const teamId = config . appleMapkitTeamId
21+ const keyId = config . appleMapkitKeyId
22+ const privateKey = config . appleMapkitPrivateKey ? base64ToUtf8 ( config . appleMapkitPrivateKey ) : undefined
2323
2424 if ( ! teamId || ! keyId || ! privateKey ) {
2525 throw createError ( {
You can’t perform that action at this time.
0 commit comments