remove index
This commit is contained in:
parent
253bd36232
commit
4d8d19c938
2 changed files with 0 additions and 19 deletions
|
@ -14,7 +14,6 @@ WORKDIR /app
|
|||
|
||||
COPY requirements.txt .
|
||||
COPY app.py .
|
||||
COPY index.html ./templates/index.html
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
|
|
18
index.html
18
index.html
|
@ -1,18 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>File List</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>File List</h1>
|
||||
{% if files %}
|
||||
<ul>
|
||||
{% for file in files %}
|
||||
<li><a href="{{ url_for('download', filename=file.name) }}">{{ file.name }} ({{ file.size }} bytes)</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>No files found.</p>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
Reference in a new issue