Update allow hosts

This commit is contained in:
2024-09-08 23:19:32 +10:00
parent f5efbf3786
commit b0b4d4ed46
+1 -1
View File
@@ -52,7 +52,7 @@ TEMPLATES = [
# 添加以下基本设置(如果尚未存在)
SECRET_KEY = 'your-secret-key-here' # 请更改为一个安全的随机值
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']
# 数据库设置(使用默认的SQLite配置)
DATABASES = {