devops-solutions-map icon indicating copy to clipboard operation
devops-solutions-map copied to clipboard

Bug: static mode broken by customization

Open Wivik opened this issue 2 years ago • 1 comments

venv/lib/python3.11/site-packages/flask_frozen/__init__.py:205: MissingURLGeneratorWarning: Nothing frozen for endpoints custom_static. Did you forget a URL generator?
  return set(page.url for page in self.freeze_yield())

Weird, the customization was merged before the last search engine feature and the static mode has been tested for both of them...

Wivik avatar Jun 21 '23 19:06 Wivik

I'm not sure yet, but I think a configuration file instead of letting the code searching for itself should be a better way for maintainability. Working on #6 also made me think it would be a better way.

Also the begin of the code is kind a mess with some settings declaration.

Wivik avatar Jun 21 '23 19:06 Wivik