Skip to content

Commit

Permalink
remove unwanted files
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmin-Mare committed Jul 5, 2024
1 parent 206c337 commit a612e2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ yarn-error.log
dist/
games/metadata.json
public/*.json
.vscode/
1 change: 0 additions & 1 deletion migration-iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
const allowed = [ 'localhost', '127.0.0.1' ].includes(referrer.hostname)
|| referrer.hostname.endsWith('.hackclub.dev')
|| referrer.hostname.endsWith('.hackclub.com')
|| referrer.hostname.endsWith('.herokuapp.com')
if (!allowed) throw new Error('Disallowed referrer')

window.parent.postMessage({
Expand Down

0 comments on commit a612e2e

Please sign in to comment.