Compare commits
No commits in common. "d40f98f5e4d5f45db8b01b25c135d29bcc44c180" and "fbaf79c9ae7848fc81c8d45ecefc2e979c800652" have entirely different histories.
d40f98f5e4
...
fbaf79c9ae
@ -1,5 +1,5 @@
|
||||
[tool.bumpversion]
|
||||
current_version = "1.3.25"
|
||||
current_version = "1.3.24"
|
||||
commit = true
|
||||
tag = true
|
||||
tag_name = "{new_version}"
|
||||
|
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user