Временный фикс проблемы перехода на https версию приложения

ra3/edit_element_rack
nsubbot 2026-01-15 14:02:21 +03:00
parent 5f21e197f6
commit 2ae53e3e2e
2 changed files with 3 additions and 2 deletions

View File

@ -20,8 +20,8 @@ class Environment:
DEVELOP: str = 'develop'
URLS: Dict[str, str] = {
TEST: 'http://192.168.2.76/',
DEVELOP: 'http://192.168.2.69/'
TEST: 'https://192.168.2.76/',
DEVELOP: 'https://192.168.2.69/'
}
def __init__(self) -> None:

View File

@ -164,6 +164,7 @@ def get_context(browser: Browser, request: FixtureRequest, start: str) -> Browse
context = browser.new_context(
# no_viewport=True,
ignore_https_errors=True,
viewport= ast.literal_eval(request.config.getoption('--s')),
locale=request.config.getoption('l')
)