18 lines
408 B
Python
18 lines
408 B
Python
from flask import send_from_directory
|
|
|
|
|
|
class Style_CSS():
|
|
endpoints = ["/style.css"]
|
|
endpoint_name = "file_style_css"
|
|
|
|
def __init__(self, fhdhr):
|
|
self.fhdhr = fhdhr
|
|
|
|
def __call__(self, *args):
|
|
return self.get(*args)
|
|
|
|
def get(self, *args):
|
|
|
|
return send_from_directory(self.fhdhr.config.internal["paths"]["www_dir"],
|
|
'style.css')
|