diff --git a/www/authenticated-sea.html b/www/authenticated-sea.html index 8a6abc1..f65860e 100644 --- a/www/authenticated-sea.html +++ b/www/authenticated-sea.html @@ -24,7 +24,6 @@

Hello from authenticated with SEA

- diff --git a/www/authenticated.html b/www/authenticated.html index 0a3421f..7423c71 100644 --- a/www/authenticated.html +++ b/www/authenticated.html @@ -5,7 +5,7 @@

Hello from authenticated

- +
diff --git a/www/authenticated.js b/www/authenticated.js index 1bf13e0..b6c8b3e 100644 --- a/www/authenticated.js +++ b/www/authenticated.js @@ -28,7 +28,7 @@ function addListener (element, type, func) { function addLine (e) { e.preventDefault() const field = document.getElementById('gunField') - gun.get('lines').put({myVal: field.value}) + gun.get('lines').set(field.value) field.value = '' } diff --git a/www/not-authenticated-sea.html b/www/not-authenticated-sea.html index 912f08d..f2b1697 100644 --- a/www/not-authenticated-sea.html +++ b/www/not-authenticated-sea.html @@ -5,13 +5,12 @@

Hello from unauthenticated SEA

- +
- diff --git a/www/not-authenticated.html b/www/not-authenticated.html index ed57bca..e5eafed 100644 --- a/www/not-authenticated.html +++ b/www/not-authenticated.html @@ -5,7 +5,7 @@

Hello from unauthenticated

- +
diff --git a/www/not-authenticated.js b/www/not-authenticated.js index 93d8def..8864bd6 100644 --- a/www/not-authenticated.js +++ b/www/not-authenticated.js @@ -14,7 +14,7 @@ function addListener (element, type, func) { function addLine (e) { e.preventDefault() const field = document.getElementById('gunField') - gun.get('lines').put({myVal: field.value}) + gun.get('lines').set(field.value) field.value = '' }