mirror of
				https://github.com/Tim-Paik/neutauri.git
				synced 2024-10-12 23:29:41 +00:00 
			
		
		
		
	Added manifest option
This commit is contained in:
		@ -67,6 +67,7 @@ pub struct Config {
 | 
			
		||||
    pub url: Option<String>,
 | 
			
		||||
    pub html: Option<PathBuf>,
 | 
			
		||||
    pub initialization_script: Option<PathBuf>,
 | 
			
		||||
    pub manifest: Option<PathBuf>,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
 | 
			
		||||
@ -249,6 +250,7 @@ impl Default for Config {
 | 
			
		||||
            url: Some("/index.html".into()),
 | 
			
		||||
            html: None,
 | 
			
		||||
            initialization_script: None,
 | 
			
		||||
            manifest: None,
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -67,6 +67,7 @@ pub struct Config {
 | 
			
		||||
    pub url: Option<String>,
 | 
			
		||||
    pub html: Option<PathBuf>,
 | 
			
		||||
    pub initialization_script: Option<String>,
 | 
			
		||||
    pub manifest: Option<PathBuf>,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
 | 
			
		||||
@ -216,7 +217,8 @@ impl Default for Config {
 | 
			
		||||
            spa: false,
 | 
			
		||||
            url: Some("/index.html".into()),
 | 
			
		||||
            html: None,
 | 
			
		||||
            initialization_script: Some("".into()),
 | 
			
		||||
            initialization_script: None,
 | 
			
		||||
            manifest: None,
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user