Compare commits

...

2 commits

3 changed files with 4 additions and 2 deletions

View file

@ -11,7 +11,9 @@ function captureFrontMatterAndMarkdown() {
} else if (k.endsWith('[]')) { } else if (k.endsWith('[]')) {
formData.set(k, formData.getAll(k)) formData.set(k, formData.getAll(k))
var s = JSON.stringify(formData.getAll(k)[0].split(",")) var s = JSON.stringify(formData.getAll(k)[0].split(","))
if (s != "") {
frontmatter += `${k.slice(0, -2)}: ${s}\n` frontmatter += `${k.slice(0, -2)}: ${s}\n`
}
} else if (k == "relpath") { } else if (k == "relpath") {
filepath = `${location.pathname.split('/public')[0]}/content/${formData.get(k)}` filepath = `${location.pathname.split('/public')[0]}/content/${formData.get(k)}`
gitpath = `${location.pathname.split('/public')[0]}` gitpath = `${location.pathname.split('/public')[0]}`

View file

@ -34,7 +34,7 @@ var (
var nativeEndian binary.ByteOrder var nativeEndian binary.ByteOrder
// bufferSize used to set size of IO buffer - adjust to accommodate message payloads // bufferSize used to set size of IO buffer - adjust to accommodate message payloads
var bufferSize = 8192 var bufferSize = 8192 * 8
// IncomingMessage represents a message sent to the native host. // IncomingMessage represents a message sent to the native host.
type IncomingMessage struct { type IncomingMessage struct {

Binary file not shown.