Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Jun 22, 2024
1 parent 862caee commit cbbeb0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions iam/templates/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def on_celery_setup_logging(**kwargs):
}

STATIC_ROOT = '/home/iam/webstatic'
STATIC_PREVIEW_PATH = '/home/iam/webstatic/preview'
MEDIA_ROOT = '/home/iam/webstatic/media'

ALLOWED_HOSTS = ['*']
Expand Down
1 change: 1 addition & 0 deletions iam/templates/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ class CeleryConfig:

STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_PREVIEW_PATH = os.path.join(BASE_DIR, 'static', 'preview')

# cors
CORS_ORIGIN_ALLOW_ALL = False
Expand Down

0 comments on commit cbbeb0d

Please sign in to comment.