Skip to content

Commit b064131

Browse files
committed
main
refactoring
1 parent 52a6bab commit b064131

File tree

6 files changed

+13
-3
lines changed

6 files changed

+13
-3
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*.pem
22
config.ini
3-
.env
3+
.env
4+
__pycache__
27 Bytes
Binary file not shown.

frontend/settings.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@
3030

3131
DEBUG = False
3232

33+
# TODO move these to config
3334
ALLOWED_HOSTS = [
3435
"python-speedtest.azurewebsites.net",
3536
"0.0.0.0:8000",
36-
"127.0.0.1:8000"
37+
"127.0.0.1"
3738
]
3839

3940
# Application definition

frontend/templates/base.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
<title>{% block title %}Speed Test{% endblock %}</title>
77
</head>
88
<body>
9-
{% include 'components/navigation.html' %}
9+
{% include 'components/header.html' %}
1010
<main>
1111
{% block content %}
1212
{% endblock %}
1313
</main>
14+
{% include 'components/footer.html' %}
1415
</body>
1516
</html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<footer>
2+
<p>copyright © 2024 | Taran Pierce</p>
3+
</footer>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<header>
2+
<h1>Logo</h1>
3+
{% include 'components/navigation.html' %}
4+
</header>

0 commit comments

Comments
 (0)