Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
django-serve-spa / serve_spa / settings.py
Size: Mime:
from pathlib import Path

from django.conf import settings

# This is where the built version of your SPA lives
SPA_ROOT: Path = getattr(settings, 'SPA_ROOT')

# The SPA will be served from this URL (i.e. mydjangoapp.com/app/)
SPA_URL = getattr(settings, 'SPA_URL', '')