Skip to content

Instantly share code, notes, and snippets.

@hawkeye64
Created November 18, 2018 19:18
Show Gist options
  • Save hawkeye64/e0dfcc1aeb253ce0c1f918fe9e229874 to your computer and use it in GitHub Desktop.
Save hawkeye64/e0dfcc1aeb253ce0c1f918fe9e229874 to your computer and use it in GitHub Desktop.
Electron - get image from main process
else if (type === 'image') {
return 'http://localhost:8000/file/' + this.node.label
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment