Merge pull request #27228 from arunmathaisk/develop
fix: http to https for url
This commit is contained in:
commit
feef3b57c1
2 changed files with 3 additions and 4 deletions
|
|
@ -675,12 +675,11 @@ def migrate(context, skip_failing=False, skip_search_index=False):
|
|||
|
||||
|
||||
@click.command("migrate-to")
|
||||
@pass_context
|
||||
def migrate_to(context):
|
||||
def migrate_to():
|
||||
"Migrates site to the specified provider"
|
||||
from frappe.integrations.frappe_providers import migrate_to
|
||||
|
||||
migrate_to(context)
|
||||
migrate_to()
|
||||
|
||||
|
||||
@click.command("run-patch")
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ from frappe.core.utils import html2text
|
|||
|
||||
def get_remote_script(remote_site):
|
||||
print("Retrieving Site Migrator...")
|
||||
request_url = f"http://{remote_site}/api/method/press.api.script"
|
||||
request_url = f"https://{remote_site}/api/method/press.api.script"
|
||||
request = requests.get(request_url)
|
||||
|
||||
if request.status_code / 100 != 2:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue