Feature: Tail live logs (#27)

* chore: add new yarn.lock

* chore: add pkgs

* feat: push events via server-sent-events

* feat(web): tail live logs

* fix: update irc network

* fix: set baseurl

* fix: headers
This commit is contained in:
Ludvig Lundgren 2021-09-07 22:23:27 +02:00 committed by GitHub
parent 11fcf1ead9
commit 09eb0b1716
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 213 additions and 26 deletions

View file

@ -12,19 +12,19 @@
<link rel="apple-touch-icon" href="%PUBLIC_URL%/static/logo192.png" />
<link crossorigin="use-credentials" rel="manifest" href="%PUBLIC_URL%/static/manifest.json" />
<title>autobrr</title>
{{if eq .BaseUrl "/" }}
<!-- {{if eq .BaseUrl "/" }}
<base href="%PUBLIC_URL%/">
<script>
window.APP = {}
window.APP.baseUrl = "/"
</script>
{{else}}
{{else}} -->
<base href="{{.BaseUrl}}">
<script>
window.APP = {}
window.APP.baseUrl = "{{.BaseUrl}}"
</script>
{{end}}
<!-- {{end}} -->
</head>
<body class="bg-gray-100">
<noscript>You need to enable JavaScript to run this app.</noscript>