diff --git a/site/config/settings.py b/site/config/settings.py index 2b93a9a1..305a4600 100644 --- a/site/config/settings.py +++ b/site/config/settings.py @@ -25,7 +25,7 @@ SECRET_KEY = "^0n$28f^vwgqqrt2y5o-c3-d8pgzcgv0%uqd%j_c-!!1a(te+!" # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['donot.space'] +ALLOWED_HOSTS = ['*'] # Application definition diff --git a/site/config/urls.py b/site/config/urls.py index 1fe7c1af..41c40cab 100644 --- a/site/config/urls.py +++ b/site/config/urls.py @@ -21,8 +21,8 @@ from frontend import urls as frontend_urls from frontend.views import landing_page urlpatterns = [ + path("", landing_page, name='landing_page'), path("admin/", admin.site.urls), path("api/", include(api_urls)), - path("", landing_page, name='landing_page'), path("out/", include(frontend_urls)), ] diff --git a/site/frontend/urls.py b/site/frontend/urls.py index cea68171..82332b34 100644 --- a/site/frontend/urls.py +++ b/site/frontend/urls.py @@ -21,6 +21,7 @@ from django.urls import path from .views import * urlpatterns = [ + path("", home_view, name="home"), path( "login/", auth_views.LoginView.as_view(template_name="frontend/login.html"),