From c9642ba76d6159d7436fe38276067df4c54e0f89 Mon Sep 17 00:00:00 2001 From: ron Date: Sat, 13 Apr 2019 00:08:32 +0200 Subject: [PATCH] clean up --- index.html | 115 ++++++++++++++++++++++++----------------------------- main.go | 6 +-- 2 files changed, 55 insertions(+), 66 deletions(-) diff --git a/index.html b/index.html index 99e5222..1307900 100644 --- a/index.html +++ b/index.html @@ -1,77 +1,66 @@ - - APR - - - - - - - - -
-

Anarchy PlⒶnet Radio

-
-
- -
- - -
    - -
    -

    -
    - + + APR + + + + + + + +
    +

    Anarchy PlⒶnet Radio

    +
    +
    +
    + +
      +
      +

      +
      +
      +
      -
      -
      + - - - - + connect(); + + + diff --git a/main.go b/main.go index 2501d46..6af2299 100644 --- a/main.go +++ b/main.go @@ -47,15 +47,15 @@ func main() { } } - m.Broadcast([]byte(metadata)) - history.Value = metadata history = history.Next() + + m.Broadcast([]byte(metadata)) }() }) m.HandleConnect(func(s *melody.Session) { - for j := 0; j < 10; j++ { + for i := 0; i < history.Len(); i++ { if history.Value != nil { s.Write([]byte(history.Value.(string))) }