Skip to content

Commit 60b8340

Browse files
committed
tweak comment
1 parent c95b431 commit 60b8340

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

middleware/is-archived-version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ const patterns = require('../lib/patterns')
22
const { deprecated } = require('../lib/enterprise-server-releases')
33

44
module.exports = async (req, res, next) => {
5-
// if this is a docs path, use the req.path
65
// if this is an assets path, use the referrer
6+
// if this is a docs path, use the req.path
77
const pathToCheck = req.get('referrer') || req.path
88

99
// ignore paths that don't have an enterprise version number

0 commit comments

Comments
 (0)