From 5fd93237c5178561b6fdedd23110fce379d69f2b Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 22 Apr 2019 18:07:39 -0400 Subject: [PATCH] only want index.html served from static --- CherryPy.conf | 1 + templates/index.html | 25 ++++++++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/CherryPy.conf b/CherryPy.conf index 1b3ffb2..31fb9ff 100644 --- a/CherryPy.conf +++ b/CherryPy.conf @@ -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' diff --git a/templates/index.html b/templates/index.html index f18285c..7d6870e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,16 +1,19 @@ - - - - - - - -
Download Test + + + + + +

+

Google Drive -

+

+

OneDrive -

+

+ + \ No newline at end of file