Skip to content

Commit

Permalink
fix(example): fixes example build
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarthendren committed Aug 10, 2021
1 parent c432334 commit 6033151
Show file tree
Hide file tree
Showing 6 changed files with 13,604 additions and 19,594 deletions.
7 changes: 7 additions & 0 deletions example/.proxyrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = function (app) {
app.use((req, res, next) => {
res.removeHeader('Cross-Origin-Resource-Policy')
res.removeHeader('Cross-Origin-Embedder-Policy')
next()
})
}
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

<body>
<div id="root"></div>
<script src="./index.tsx"></script>
<script type="module" src="./index.tsx"></script>
</body>
</html>
4 changes: 0 additions & 4 deletions example/main.css

This file was deleted.

Loading

0 comments on commit 6033151

Please sign in to comment.