Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const preloadNode = MockPreloadNode.createNode()
const echoServer = EchoServer.createServer()

module.exports = {
bundlesize: { maxSize: '650kB' },
bundlesize: { maxSize: '651kB' },
webpack: {
resolve: {
mainFields: ['browser', 'main'],
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-add-readable-stream/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>
<pre id="output"></pre>
<script src="../../dist/index.js"></script>
<script src="../../dist/index.js" charset="UTF-8"></script>
<script src="index.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/browser-script-tag/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You can use IPFS in your in-browser JavaScript code with just a `<script>` tag.

```html
<script src="https://unpkg.com/ipfs/dist/index.min.js"></script>
<script src="https://unpkg.com/ipfs/dist/index.min.js" charset="UTF-8"></script>
```

This exposes a global `Ipfs`; you can get a node by making a `new Ipfs()`.
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-script-tag/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>IPFS in the Browser</title>
<script src="../../dist/index.js"></script>
<script src="../../dist/index.js" charset="UTF-8"></script>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', async () => {
const node = await Ipfs.create({ repo: 'ipfs-' + Math.random() })
Expand Down