feat: replace exploded base_* with public_url
Fixes #1574 BREAKING CHANGE: The `general` section in the config schema has changed: the `general.base_*`, `general.protocol` and `general.force_ssl` configuration fields have been replaced with a single `general.public_url` field. Be sure to use a valid url with the new configuration field.
This commit is contained in:
parent
d020fbd983
commit
751d430bcc
13 changed files with 297 additions and 144 deletions
|
@ -11,10 +11,8 @@ def config_filepath(tmp_path: Path):
|
|||
filepath.write_text(
|
||||
"""
|
||||
[general]
|
||||
public_url = http://localhost/test
|
||||
api_key = TEST_KEY
|
||||
base_dir = /test
|
||||
base_port = 80
|
||||
base_url = localhost
|
||||
"""
|
||||
)
|
||||
return filepath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue