Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
fix: use polyfill to fix streaming APIs on Firefox
Browse files Browse the repository at this point in the history
Fixes: #73

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
  • Loading branch information
Unix4ever committed Aug 9, 2021
1 parent 7789253 commit 672c517
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@headlessui/vue": "^1.2.0",
"@heroicons/vue": "^1.0.1",
"@stardazed/streams-polyfill": "^2.4.0",
"core-js": "^3.6.5",
"exponential-backoff": "^3.1.0",
"long": "^4.0.0",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

import "@stardazed/streams-polyfill";
import { createApp } from 'vue';
import './index.css';
import App from './App.vue'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/node/Logs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<t-alert v-if="err" :title="logs ? 'Disconnected' : 'Failed to Fetch Logs'" type="error" class="mb-2">
{{ err }}.
</t-alert>
<log-view v-else :logs="logs"/>
<log-view :logs="logs"/>
</div>
</template>

Expand Down

0 comments on commit 672c517

Please sign in to comment.