before change Ticket Desc to TextArea
This commit is contained in:
1 parent
f7dbd02a6c
commit
ef18434b86
55 files changed
+1026
-59
No files matched your search
+14
-2
@@ -19,8 +19,6 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
MEDIA_URL = '/media/'
|
||||
MEDIA_ROOT = BASE_DIR.parent /'media'
|
||||
|
||||
print(MEDIA_ROOT)
|
||||
|
||||
# Quick-start development settings - unsuitable for production
|
||||
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/
|
||||
|
||||
@@ -33,8 +31,22 @@ DEBUG = True
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
CORS_ALLOWED_ORIGINS = [
|
||||
"http://192.168.138.94:3000",
|
||||
"http://192.168.138.94:3001",
|
||||
"http://localhost:3001",
|
||||
"http://localhost:3002",
|
||||
"http://localhost:3000",
|
||||
"https://loolegostar.liara.run",
|
||||
"https://loolegostar-crm.liara.run",
|
||||
]
|
||||
|
||||
CORS_ALLOW_METHODS = [
|
||||
"DELETE",
|
||||
"GET",
|
||||
"OPTIONS",
|
||||
"PATCH",
|
||||
"POST",
|
||||
"PUT",
|
||||
]
|
||||
|
||||
AUTH_USER_MODEL = 'cuser.CUser'
|
||||
|
||||
Reference in new issue
Block a user