<reponame>DevMahdi404/djrboilerplate
import os
from django.conf import settings
from django.views.static import serve

# Create your views here.


def public(request):
    public_folder = os.path.join(str(settings.BASE_DIR), 'frontend', 'build')
    return serve(request, request.path, document_root=public_folder)

import os
from django.conf import settings
from django.views.static import serve

# Create your views here.


def public(request):
    public_folder = os.path.join(str(settings.BASE_DIR), 'frontend', 'build')
    return serve(request, request.path, document_root=public_folder)
# Create your views here.