Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self-host iframeResizer #172

Merged
merged 2 commits into from
Sep 17, 2021
Merged
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 .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ module.exports = {
version: 'detect',
},
},
ignorePatterns: ['public/client.js'],
ignorePatterns: ['public/client.js', 'public/js/iframeResizer.contentWindow.min.js'],
};
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ writing, this is a rolling-release project without any meaningful versioning
whatsoever. Tags/releases may be created for the sole purpose of documenting
major updates to the project.

## 2021-09-18

### changed

- Self-host iframeResizer
([#172](https://github.com/laymonage/giscus/pull/172)).

## 2021-09-17

### changed

- Upgrade dependencies
([#171](https://github.com/laymonage/giscus/pull/171)).

## 2021-08-30

### changed
Expand Down
2 changes: 1 addition & 1 deletion pages/widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default function WidgetPage({
</main>

<Script
src="https://cdn.jsdelivr.net/npm/iframe-resizer@4.3.2/js/iframeResizer.contentWindow.min.js"
src="/js/iframeResizer.contentWindow.min.js"
integrity="sha256-rbC2imHDJIBYUIXvf+XiYY+2cXmiSlctlHgI+rrezQo="
crossOrigin="anonymous"
/>
Expand Down
1 change: 1 addition & 0 deletions public/js/iframeResizer.contentWindow.map

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

Loading