<commit_before>import sys
from pathlib import Path

BASE_DIR = Path()


def rel(*x):
    return str(BASE_DIR.joinpath(*x).absolute())

DEBUG = False
DOMAIN = 'localhost:8000'

APPEND_SLASH = True
ALLOWED_HOSTS = [DOMAIN]

USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https')

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
SESSION_COOKIE_AGE = 1209600  # (2 weeks)
SESSION_COOKIE_NAME = 'sessionid'

MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'

SECRET_KEY = '9b&*wwurv3t)=<KEY>'

ROOT_URLCONF = 'pangolin.urls'

WSGI_APPLICATION = 'wsgi.application'
<commit_msg>allowedhost<commit_after>import sys
from pathlib import Path

BASE_DIR = Path()


def rel(*x):
    return str(BASE_DIR.joinpath(*x).absolute())

DEBUG = False
DOMAIN = 'localhost:8000'

APPEND_SLASH = True
ALLOWED_HOSTS = ["pangolinlaser.herokuapp.com", DOMAIN]

USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https')

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
SESSION_COOKIE_AGE = 1209600  # (2 weeks)
SESSION_COOKIE_NAME = 'sessionid'

MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'

SECRET_KEY = '9b&*wwurv3t)=<KEY>'

ROOT_URLCONF = 'pangolin.urls'

WSGI_APPLICATION = 'wsgi.application'

{'fraction_non_alphanumeric': 0.11921032649962035, 'fraction_numerical': 0.02126044039483675, 'mean_word_length': 6.574712643678161, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4179025', 'n_tokens_mistral': 528, 'n_tokens_neox': 509, 'n_words': 83}