Last active
          August 29, 2015 14:02 
        
      - 
      
- 
        Save Remigr/057ff27f4665c212beb5 to your computer and use it in GitHub Desktop. 
    html snapshot example
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | htmlSnapshot: { | |
| all: { | |
| options: { | |
| snapshotPath: 'snapshots/', | |
| sitePath: 'http://<your-website>/', | |
| fileNamePrefix: '', | |
| sanitize: function(requestUri) { | |
| return requestUri.replace(/\//g, '/').replace(/#!\//g, ''); | |
| }, | |
| urls: [ | |
| '#!/index', | |
| '#!/home', | |
| ... all the pages of your website ... | |
| ] | |
| } | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment