Skip to content

Commit

Permalink
Merge pull request #487 from MindscapeHQ/sm/ACT-32/add-docs-for-proto…
Browse files Browse the repository at this point in the history
…col-type-for-cdn

[Docs update]: Add note to README for protocol relative URL
  • Loading branch information
sumitramanga committed Jun 1, 2023
2 parents 9e28e72 + abf11d6 commit 0027af2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,6 @@
* v2.25.8
- Improve README documentation to be more clear on the protocol relative URL and how to use the CDN implemmentation without running a server .

* v2.25.7
- Improve README documentation to be more clear on our highly recommended installation steps.
- Minor grammar changes within README
Expand Down
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -24,6 +24,13 @@ No installation via a package manager is required. Just add the following snippe

The above snippet will fetch the Raygun4JS script from our CDN asynchronously, so it doesn't block other scripts from being loaded. It will also catch errors that are thrown while the page is loading, and send them when the script is ready.


**Note:** If you encounter a situation where no events are appearing within Raygun, you may need to hard code the URL protocol so that the CDN matches your hosting environment. This could look like one of the following -
- `https://cdn.raygun.io/raygun4js/raygun.min.js`
- `http://cdn.raygun.io/raygun4js/raygun.min.js`

This will be in replacement of `//cdn.raygun.io/raygun4js/raygun.min.js`.

### Via package manager installation
For installations and usage via a package manager, refer to the [Synchronous methods](#synchronous-methods) section of this document.

Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "raygun4js",
"version": "2.25.7",
"version": "2.25.8",
"homepage": "http://raygun.io",
"authors": [
"Mindscape <hello@raygun.io>"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
],
"title": "Raygun4js",
"description": "Raygun.com plugin for JavaScript",
"version": "2.25.7",
"version": "2.25.8",
"homepage": "https://github.com/MindscapeHQ/raygun4js",
"author": {
"name": "MindscapeHQ",
Expand Down
2 changes: 1 addition & 1 deletion raygun4js.nuspec
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>raygun4js</id>
<version>2.25.7</version>
<version>2.25.8</version>
<title>Raygun4js</title>
<authors>Mindscape Limited</authors>
<owners>Mindscape Limited</owners>
Expand Down

0 comments on commit 0027af2

Please sign in to comment.