only want index.html served from static

onedrive
eric 2019-04-22 18:07:39 -04:00
parent 6487d1852d
commit 5fd93237c5
2 changed files with 15 additions and 11 deletions

View File

@ -79,5 +79,6 @@ tools.expires.on: True
tools.expires.secs: 0
tools.expires.force: True
[/index.html]
tools.staticfile.on: True
tools.staticfile.filename: CherryPyApp.install_dir + '/templates/index.html'

View File

@ -1,16 +1,19 @@
<html>
<table>
<tr>
<td class="noprint"><a href="/ebooks/downloadtest.pdf">Download Test</a></td>
<td class="noprint">
<head>
<link rel="stylesheet" type="text/css" href="https://www.gutenberg.org/css/pg-desktop-one.css" />
</head>
<body>
<div class="body">
<p><a href="/ebooks/downloadtest.pdf">Download Test</a></p>
<p>
<a href="/ebooks/send/dropbox/test.pdf" title="Send to Dropbox." rel="nofollow"><span class="icon icon_dropbox">Dropbox</span></a>
</td>
<td class="noprint">
</p>
<p>
<a href="/ebooks/send/gdrive/test.pdf" title="Send to Google Drive." rel="nofollow"><span class="icon icon_gdrive">Google Drive</span></a>
</td>
<td class="noprint">
</p>
<p>
<a href="/ebooks/send/msdrive/test.pdf" title="Send to OneDrive." rel="nofollow"><span class="icon icon_msdrive">OneDrive</span></a>
</td>
</tr>
</table>
</p>
</div>
</body>
</html>