mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Tweak user agent
This commit is contained in:
parent
22c27dbd88
commit
1620685cce
1 changed files with 1 additions and 3 deletions
|
@ -95,9 +95,7 @@ with open(os.path.join(SASS_DIR, "base_theme.scss")) as f:
|
|||
CSS = sass.compile(string=raw_css, output_style="compressed")
|
||||
|
||||
|
||||
USER_AGENT = (
|
||||
f"{requests.utils.default_user_agent()} (microblog.pub/{VERSION}; +{BASE_URL})"
|
||||
)
|
||||
USER_AGENT = f"microblog.pub/{VERSION}; +{BASE_URL}"
|
||||
|
||||
mongo_client = MongoClient(
|
||||
host=[os.getenv("MICROBLOGPUB_MONGODB_HOST", "localhost:27017")]
|
||||
|
|
Loading…
Reference in a new issue