Compare commits

..

No commits in common. "d40f98f5e4d5f45db8b01b25c135d29bcc44c180" and "fbaf79c9ae7848fc81c8d45ecefc2e979c800652" have entirely different histories.

3 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.3.25"
current_version = "1.3.24"
commit = true
tag = true
tag_name = "{new_version}"

View File

@ -1 +1 @@
1.3.25
1.3.24

View File

@ -74,8 +74,7 @@
}
function subscribeUser(registration) {
const baseUrl = '{{ config.BASE_URL }}'.replace(/\/$/, ""); // Remove trailing slash if present
fetch(`${baseUrl}/vapid-public-key`)
fetch('http://localhost:3001/vapid-public-key')
.then(response => response.json())
.then(data => {
const applicationServerKey = urlB64ToUint8Array(data.public_key);
@ -92,8 +91,7 @@
}
function saveSubscription(subscription) {
const baseUrl = '{{ config.BASE_URL }}'.replace(/\/$/, ""); // Remove trailing slash if present
fetch(`${baseUrl}/save-subscription`, {
fetch('/save-subscription', {
method: 'POST',
headers: {
'Content-Type': 'application/json',