making quill work
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -118,7 +118,8 @@ class Home extends Shadow {
|
||||
VStack(() => {
|
||||
this.logs.map(log =>
|
||||
div(log)
|
||||
.padding("8px 12px")
|
||||
.paddingHorizontal("8px")
|
||||
.paddingVertical("12px")
|
||||
.backgroundColor("rgba(255,255,255,0.9)")
|
||||
.borderRadius(6, px)
|
||||
.marginBottom(6, px)
|
||||
@@ -130,7 +131,7 @@ class Home extends Shadow {
|
||||
.attr({"id": "logList"})
|
||||
.flex(1)
|
||||
.overflowY("auto")
|
||||
.padding("0 16px")
|
||||
.paddingHorizontal(16, px)
|
||||
})
|
||||
.marginTop(7, em)
|
||||
})
|
||||
@@ -175,7 +176,7 @@ class Home extends Shadow {
|
||||
|
||||
async sendLocation(lat, lon, timestamp) {
|
||||
try {
|
||||
const resp = await fetch('http://sam.local:3008/api/location', {
|
||||
const resp = await fetch('http://localhost:3008/api/location', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user