Hi,
I tried to use django metronic but the nginx cant copy de "assets" folder to STATIC_ROOT, so not serving de STATICs files, even if I user the original files, ex:
<meta property="og:title" content="" />
<link rel="canonical" href=""/>
<link rel="shortcut icon" href="/assets/media/logos/favicon.ico"/>
<!--begin::Fonts-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700">
<!--end::Fonts-->
<!--begin::Vendor Stylesheets(optional)-->
<link href="/assets/plugins/custom/datatables/datatables.bundle.css" rel="stylesheet" type="text/css" />
<link href="/assets/plugins/custom/fullcalendar/fullcalendar.bundle.css" rel="stylesheet" type="text/css" />
<!--end::Vendor Stylesheets-->
<!--begin::Custom Stylesheets(optional)-->
Any suggestions to solve it?
Thanks
Hi,
You can change the assets folder to any other name in the config.starterkit/_keenthemes/settings.py
STATIC_URL = "assets/"
STATICFILES_DIRS = [
BASE_DIR / "assets",
]
<img>https://postimg.cc/nMJCftYK</>
when make the collecstatic they send ( js, css, media ) do the folder in STATIC_ROOT, but all the site ask for assets in STATIC_ROOT,
Hi,
Could you please send the screenshots of the issue?
Thanks