To control advertisements in the application, edit the config.ts file:
// config.ts
export const config = {
ads: {
enabled: false, // Change to true to enable ads
publisherId: 'ca-pub-7455498979488414',
autoAds: true
},
// ... other settings
};- When
ads.enabledisfalse, the AdSense script won't be loaded at all - This prevents any ads from appearing anywhere in the application
- The setting is applied during the build process
- Open
config.ts - Change
ads.enabledfromfalsetotrue - Rebuild the application:
npm run build - Deploy the updated build
Control Google Analytics tracking:
analytics: {
enabled: true, // Set to false to disable analytics
gtmId: 'GTM-PPFZ8NV2',
gaId: 'G-0HVHB49RDP'
}Configure Gemini API settings:
api: {
geminiModel: 'gemini-3.1-flash-lite-preview',
maxFileSize: 100 * 1024 * 1024, // 100MB
minidumpThreshold: 5 * 1024 * 1024 // 5MB
}- Configuration changes require rebuilding the application
- The config is embedded during build time for optimal performance
- No runtime API calls are made to check these settings