We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d3eb2 commit ca0f663Copy full SHA for ca0f663
site/src/_data/site.js
@@ -2,9 +2,11 @@
2
3
'use strict';
4
5
+const path = require('node:path');
6
const process = require('node:process');
7
8
const IS_NETLIFY = process.env.NETLIFY === 'true';
9
+const {version: quicklinkVersion} = require(path.join(__dirname, '../../../package.json'));
10
11
module.exports = () => {
12
return {
@@ -16,7 +18,7 @@ module.exports = () => {
16
18
url: IS_NETLIFY ? process.env.DEPLOY_PRIME_URL : 'https://getquick.link',
17
19
isNetlify: IS_NETLIFY,
20
quicklinkGithubURL: 'https://github.com/GoogleChromeLabs/quicklink',
- quicklinkVersion: '3.0.1',
21
+ quicklinkVersion,
22
quicklinkSizeLimit: '1KB',
23
bottomResource: {
24
caption: 'View source on GitHub',
0 commit comments