Skip to content

Commit

Permalink
Decode
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-lippert authored Sep 27, 2023
1 parent fedc357 commit b888995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class Alarm {
}

if (searchParams.has('callback')) {
await this.state.storage.put('callback', this.callback = searchParams.get('callback'))
await this.state.storage.put('callback', this.callback = decodeURIComponent(searchParams.get('callback')))
}
if (searchParams.has('every')) {
await this.state.storage.put('every', this.every = parseInt(searchParams.get('every')))
Expand Down

0 comments on commit b888995

Please sign in to comment.