Second routing probe: an explicit .html file per code
Directory indexes fall back to the root page, but files with an extension are served directly. If this resolves, per-video pages with real Open Graph tags in the head are possible on a static host, at the cost of five characters.
This commit is contained in:
parent
8a5f3a7b1b
commit
5a409e943f
2 changed files with 8 additions and 8 deletions
7
v/probe123.html
Normal file
7
v/probe123.html
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html><head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>FILE PROBE</title>
|
||||||
|
<meta property="og:title" content="file probe og title">
|
||||||
|
</head>
|
||||||
|
<body><p>explicit html file routing works</p></body></html>
|
||||||
|
|
@ -1,8 +1 @@
|
||||||
<!doctype html>
|
removed
|
||||||
<html><head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>ROUTING PROBE</title>
|
|
||||||
<meta property="og:title" content="probe og title">
|
|
||||||
<meta property="og:image" content="https://example.com/probe.jpg">
|
|
||||||
</head>
|
|
||||||
<body><p id="probe">directory-index routing works</p></body></html>
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue