This commit is contained in:
Eugene Pankov
2021-07-11 16:13:18 +02:00
parent 29a3b34dd2
commit 74fb173d80
30 changed files with 559 additions and 161 deletions

View File

@@ -21,6 +21,6 @@ class AppDistView(APIView):
return static.serve(request, os.path.join(version, path), document_root=str(settings.APP_DIST_PATH))
class BuildView(APIView):
def get(self, request, path=None, format=None):
return static.serve(request, path, document_root=str(settings.BASE_DIR / 'build'))
# class BuildView(APIView):
# def get(self, request, path=None, format=None):
# return static.serve(request, path, document_root=str(settings.BASE_DIR / 'build'))