Skip to content

Commit

Permalink
settings.py aktualisieren
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdullahBakir97 authored May 27, 2024
1 parent 89d2d24 commit aae71ee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions backend/project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,16 +184,12 @@
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/5.0/howto/static-files/

BASE_DIR = Path(__file__).resolve().parent.parent


# Static files (CSS, JavaScript, Images)
STATIC_URL = '/static/'

# Add these lines
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'frontend/dist'), # Point to the built Vue.js application
]


# Default primary key field type
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field
Expand Down

0 comments on commit aae71ee

Please sign in to comment.