Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Updates readme to show the proper way to use the src property in the config for SimpleAnalytics.

without the protocol it tries to append it to your base url like
https://example.com/sa.example.com/latest.js
  • Loading branch information
jhliberty authored Feb 11, 2024
1 parent 21fb986 commit b39a0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = function (environment) {
mode: 'hash',
nonUniqueHostnames: 'checkout.stripe.com',
pathOverwriter: 'myPathOverwriter',
src: 'my-custom-script.example.org/latest.js',
src: 'https://my-custom-script.example.org/latest.js',
}
}
]
Expand Down

0 comments on commit b39a0d2

Please sign in to comment.