Skip to content

Commit

Permalink
📝 update URL examples in README to use hash
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Mar 30, 2022
1 parent 653fbb1 commit 9a41752
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ software of choice.
### Optional URL parameters

There are several options you can play with that are exposed as optional URL
query string parameters. For each one of these, be sure you separate the new
key/value combination from the existing URL with a '&' character. For example,
if your original URL was this:
hash parameters. For each one of these, be sure you separate the new key/value
combination from the existing URL with a '&' character. For example, if your
original URL was this:

`https://haliphax.github.io/drop-game/?username=haliphax&channel=haliphax&oauth=MYTOKEN`
`https://haliphax.github.io/drop-game/#username=haliphax&channel=haliphax&oauth=MYTOKEN`

Your updated URL for setting the `foobar` option to `100` would look like this:

`https://haliphax.github.io/drop-game/?username=haliphax&channel=haliphax&oauth=MYTOKEN&foobar=100`
`https://haliphax.github.io/drop-game/#username=haliphax&channel=haliphax&oauth=MYTOKEN&foobar=100`

| Key | Default | Description |
|-----|---------|-------------|
Expand Down

0 comments on commit 9a41752

Please sign in to comment.