-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: skip dnslink redirect for /ipfs/ paths
Public gateways are often exposed under the same domain name and even tho right now CID-based redirect takes precedence, without this check things could break if we ever do some refactoring and move things around. This does not change anything, just deduplicates code and adds additional check to ensure dnslink redirect should not happen for assets in /ipfs/ and /ipns/ paths
- Loading branch information
Showing
2 changed files
with
101 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters