From 3cc5f0d4bb0ef5d3f36d40d4caae726eeb708edd Mon Sep 17 00:00:00 2001 From: root Date: Tue, 9 May 2023 22:38:05 +0200 Subject: [PATCH] fixed importer name bug and fixed settings to allow all hosts --- import.py | 2 +- ragnarok/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/import.py b/import.py index e93e075..14a8458 100644 --- a/import.py +++ b/import.py @@ -10,7 +10,7 @@ django.setup() from django.contrib.auth.models import User from core.models import Video -folder_path = 'youtube_channel_archiver/UnusualVideos (@UnusualVideos)/' +folder_path = 'channel_archiver/UnusualVideos (@UnusualVideos)/' def extract_version(filename): # Define a regular expression pattern to match the version number diff --git a/ragnarok/settings.py b/ragnarok/settings.py index ebb59af..b32d9f2 100644 --- a/ragnarok/settings.py +++ b/ragnarok/settings.py @@ -26,7 +26,7 @@ SECRET_KEY = 'django-insecure-l@l^r-ar(0@c+fo)!c^y7_jck3u=qu=^omc2@ow#bm2^of$k@j # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['muxi.at'] +ALLOWED_HOSTS = ['*'] # Application definition