Compare commits
No commits in common. "b6247c1fab7345be1e05365aba2fe17d3a39d699" and "758bb2e4744d344bf57f5123edfda75b730c3c6f" have entirely different histories.
b6247c1fab
...
758bb2e474
3 changed files with 2 additions and 4 deletions
2
app/c.js
2
app/c.js
|
@ -11,9 +11,7 @@ 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]}`
|
||||||
|
|
|
@ -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 * 8
|
var bufferSize = 8192
|
||||||
|
|
||||||
// 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.
Loading…
Add table
Reference in a new issue