Rules & Groups
Extension Settings
Environment Variables
๐ Environment Variables
Define reusable variables to avoid repetition. Use
๐ก Start typing
๐ก Example: Create
{{variableName}} in any input field to reference these variables.๐ก Start typing
{{ to see inline suggestions, or press Ctrl+Tab for manual suggestions.๐ก Example: Create
LOCAL_DOMAIN = localhost.freshservice-dev.com, then use {{LOCAL_DOMAIN}} in URL patterns.FreshRoute Server Configuration
๐ก FreshRoute Server URLs
Configure the URLs for your local FreshRoute development server. The HTTP URL is used for API requests and file management, while the WebSocket URL is used for real-time communication.
๐ก Start the server:
๐ก Start the server:
cd mock-server && npm startURL for API requests and file management (default: http://localhost:3001)
URL for real-time communication (default: ws://localhost:3002)
๐ Response Files Directory
Files are stored in the
mock-server/responses/ directory. Use the "Manage Files" button in the main rules section to upload and manage response files.Disconnected
Extension Settings
Show Rule Notifications
Display toast notifications when rules are applied to web pages. Notifications auto-hide after 5 seconds and won't duplicate for the same rule.
Compact View for Notifications
Show only one notification at a time with navigation arrows (โ โ) to move between them. The latest notification is shown by default. Requires notifications to be enabled.
Export Environment Variables with Rules
When enabled, environment variables will be included in exported JSON files. During import, environment variables will be created if they don't already exist with the same name.
Unified Rule Groups
โ
Mixed Rule Types: Each group can contain URL rewrite, header modification, and mock response rules
๐ง Flexible Organization: Organize rules by project, environment, or purpose
๐ Easy Management: Add, edit, enable/disable rules within groups
๐ง Flexible Organization: Organize rules by project, environment, or purpose
๐ Easy Management: Add, edit, enable/disable rules within groups
Export & Import Rules
๐ค Export groups as JSON files for backup or sharing
๐ฅ Import rules from JSON files
๐๏ธ Groups can contain URL rewrite, header modification, and mock response rules
๐ฅ Import rules from JSON files
๐๏ธ Groups can contain URL rewrite, header modification, and mock response rules