From c67f0bbbb3f093255cffc17c680abeee91f9f998 Mon Sep 17 00:00:00 2001 From: Gabriel Flores Date: Fri, 24 Nov 2023 08:16:11 -0300 Subject: [PATCH] test fix --- edagames/settings/prod.py | 3 ++- vercel.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/edagames/settings/prod.py b/edagames/settings/prod.py index 6454ac8..a86298b 100644 --- a/edagames/settings/prod.py +++ b/edagames/settings/prod.py @@ -16,6 +16,7 @@ import base64 from botocore.exceptions import ClientError import json +from pathlib import Path # Build paths inside the project like this: os.path.join(BASE_DIR, ...) # BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) @@ -73,7 +74,7 @@ # STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles_build', 'static') STATIC_URL = 'static/' -# STATIC_ROOT = os.path.join(BASE_DIR, 'static') +STATIC_ROOT = os.path.join(BASE_DIR, 'static') STATICFILES_DIRS = [ BASE_DIR, "static", diff --git a/vercel.json b/vercel.json index ce7c9a9..9b6c5ca 100644 --- a/vercel.json +++ b/vercel.json @@ -16,6 +16,7 @@ } } ], + "outputDirectory": "static", "routes": [ { "src": "/static/(.*)",