mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-31 03:40:24 +00:00
This commit introduces several improvements to the file checking process and URI handling: - Extract file checking logic into separate `Checker` structs (`FileChecker`, `WebsiteChecker`, `MailChecker`) - Improve handling of relative and absolute file paths - Enhance URI parsing and creation from file paths - Refactor `create_request` function for better clarity and error handling These changes provide better support for resolving relative links, handling different base URLs, and working with file paths. Fixes https://github.com/lycheeverse/lychee/issues/1296 and https://github.com/lycheeverse/lychee/issues/1480
21 lines
No EOL
449 B
HTML
Vendored
21 lines
No EOL
449 B
HTML
Vendored
<html>
|
|
<head>
|
|
<title>Index</title>
|
|
</head>
|
|
<body>
|
|
<h1>Index Title</h1>
|
|
<p>
|
|
<ul>
|
|
<li>
|
|
<a href="/">home</a>
|
|
</li>
|
|
<li>
|
|
<a href="/about">About</a>
|
|
</li>
|
|
<li>
|
|
<a href="/another page">About</a>
|
|
</li>
|
|
</ul>
|
|
</p>
|
|
</body>
|
|
</html> |