mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
changed the migrate and dxcc urls in the installer to point to the same host that the user navigated to
This commit is contained in:
@@ -268,7 +268,7 @@
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
$.ajax({
|
||||
url: "<?php echo $_POST['websiteurl'] ?? $websiteurl; ?>" + "index.php/migrate",
|
||||
url: `${window.location.origin}/index.php/migrate`,
|
||||
dataType: 'json',
|
||||
success: async function(response) {
|
||||
if (response.status == 'success') {
|
||||
@@ -297,7 +297,7 @@
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
$.ajax({
|
||||
url: "<?php echo $_POST['websiteurl'] ?? $websiteurl; ?>" + "index.php/update/dxcc",
|
||||
url: url: `${window.location.origin}/index.php/update/dxcc`,
|
||||
success: async function(response) {
|
||||
if (response == 'success') {
|
||||
running(field, false);
|
||||
|
||||
Reference in New Issue
Block a user