@ampproject/toolbox-cors
Advanced tools
Comparing version 2.2.0 to 2.3.0
{ | ||
"name": "@ampproject/toolbox-cors", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "An express middleware implementing the AMP CORS protocol", | ||
@@ -22,5 +22,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@ampproject/toolbox-cache-list": "^2.2.0", | ||
"@ampproject/toolbox-cache-url": "^2.2.0", | ||
"@ampproject/toolbox-core": "^2.2.0" | ||
"@ampproject/toolbox-cache-list": "^2.3.0", | ||
"@ampproject/toolbox-cache-url": "^2.3.0", | ||
"@ampproject/toolbox-core": "^2.3.0" | ||
}, | ||
@@ -31,3 +31,3 @@ "bugs": { | ||
"homepage": "https://github.com/ampproject/amp-toolbox/tree/master/packages/cors", | ||
"gitHead": "e2bea7ac7d4cb6a57d196e124ee8a5f818123a02" | ||
"gitHead": "bb7eaa6c720044e84f01c6406f5f0805dc637923" | ||
} |
@@ -110,3 +110,3 @@ # AMP CORS Middleware | ||
See [express.js](demo/express.js) for a sample implementation. There are two scenarios in which the AMP CORS header will be added: | ||
See [express.js](/packages/cors/demo/express.js) for a sample implementation. There are two scenarios in which the AMP CORS header will be added: | ||
@@ -113,0 +113,0 @@ 1. AMP CORS header will be set if the `__amp_source_origin` query parameter is set together with the `AMP-SAME-ORIGIN` header: |
22454