added notes to settings.yaml
moved core app config (name, version) out of settings and into app/app_settings.py added ability to brand SneakyScope to any name added caching of cert information from crt.sh (cache enable and lenght is configurable in settings.yaml) streamlined header/footer loading to be more correct
This commit is contained in:
13
app/app_settings.py
Normal file
13
app/app_settings.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
|
||||
this_year = datetime.strftime(datetime.now(),"%Y")
|
||||
|
||||
@dataclass
|
||||
class AppSettings:
|
||||
name: str = "SneakyScope"
|
||||
tagline: str = "A selfhosted URL Sandbox"
|
||||
url: str = "https://git.sneakygeek.net/ptarrant/SneakyScope"
|
||||
copyright: str = f"© 2025 - {this_year}"
|
||||
version_major: int = 1
|
||||
version_minor: int = 0
|
||||
Reference in New Issue
Block a user