Replace default leaves with precipitation and procedural snowdrifts
This commit is contained in:
1 parent
2c17a52b5e
commit
c85876f1db
13 files changed
+329
-83
No files matched your search
@@ -26,6 +26,7 @@ from .belki.xlsx_export import build_xlsx
|
||||
from .sudoku import SudokuError, SudokuStore
|
||||
from .belki.vk_scheduler import VkConversationStore
|
||||
from .belki.weather import weather_cache
|
||||
from .belki.snow_cover import snow_cover_cache
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
@@ -402,6 +403,9 @@ class Handler(BaseHTTPRequestHandler):
|
||||
if path == "/api/weather/ulli":
|
||||
self._json(200, weather_cache.get())
|
||||
return
|
||||
if path == "/api/weather/snow-cover":
|
||||
self._json(200, snow_cover_cache.get())
|
||||
return
|
||||
if path in ("/api/weather/effect.js", "/api/weather/effect.css"):
|
||||
self._file(WEB_ROOT / ("weather-effect.js" if path.endswith(".js") else "weather-effect.css"))
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user