django configuring static files code example
Example 1: django static files / templates
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
'/var/www/static/',
]
Example 2: Set Static Folder
app.use(express.static('public'))
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
'/var/www/static/',
]
app.use(express.static('public'))