mirror of
				https://github.com/digitalocean/nginxconfig.io.git
				synced 2025-10-31 22:52:51 +08:00 
			
		
		
		
	Update base4 command to use tee (fixes #153)
This commit is contained in:
		| @@ -146,7 +146,7 @@ THE SOFTWARE. | ||||
|  | ||||
|                 // Convert it to base64 string | ||||
|                 const b64 = btoa(String.fromCharCode(...contents)); | ||||
|                 return `echo '${b64}' | base64 --decode > ${this.$props.data.global.nginx.nginxConfigDirectory.computed}/${this.tarName}`; | ||||
|                 return `echo '${b64}' | base64 --decode | tee ${this.$props.data.global.nginx.nginxConfigDirectory.computed}/${this.tarName} > /dev/null`; | ||||
|             }, | ||||
|             setupCopy() { | ||||
|                 const originalText = this.$refs.copyTar.textContent; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user