Skip to content

Commit

Permalink
updated static root and url
Browse files Browse the repository at this point in the history
  • Loading branch information
varsha1305nav committed Dec 6, 2023
1 parent a7bbfd0 commit 71a8c83
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/api/marketplace/marketplace/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,19 @@
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.0/howto/static-files/

STATIC_URL = "/static/"
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# STATIC_URL = "/static/"
# STATIC_ROOT = os.path.join(BASE_DIR, 'static')

# web accessible folder
STATIC_ROOT = '/home/xidev/xfluencer/influencer-marketplace/src/api/marketplace/static/'
# URL prefix for static files.
STATIC_URL = 'static/'
# List of finder classes that know how to find static files in
# various locations.
STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
)

AUTH_USER_MODEL = "accounts.User"
ACCOUNT_AUTHENTICATION_METHOD = "email"
Expand Down

0 comments on commit 71a8c83

Please sign in to comment.