Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadhabibi14 committed Jan 26, 2024
1 parent 0ef1a26 commit 4654773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perpus/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,14 @@
STATIC_URL = 'static/'

# Where ViteJS assets are built.
DJANGO_VITE_ASSETS_PATH = BASE_DIR / 'static'
DJANGO_VITE_ASSETS_PATH = BASE_DIR / 'web' / 'assets'
DJANGO_VITE_DEV_MODE = True
if os.environ.get('WEB_ENV') == 'prod':
DJANGO_VITE_DEV_MODE = False
DJANGO_VITE_DEV_SERVER_PORT = 3000

# Name of static files folder (after called python manage.py collectstatic)
STATIC_ROOT = '/home/root_admin/bacaku/static'
STATIC_ROOT = BASE_DIR / 'static'

# Include DJANGO_VITE_ASSETS_PATH into STATICFILES_DIRS to be copied inside
# when run command python manage.py collectstatic
Expand Down

0 comments on commit 4654773

Please sign in to comment.