Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMillett committed Nov 7, 2024
1 parent 1c521ec commit 46582d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Pages/AdminPage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
Count = int.TryParse(LogCount, out int count) ? count : 1,
Password = await Helper.Hash(Password)
};
HttpResponseMessage HttpResponse = await Http.PostAsJsonAsync("https://mole-factual-pleasantly.ngrok-free.app/api/logs", Data);
HttpResponseMessage HttpResponse = await Http.PostAsJsonAsync("https://vetra.jordanmillett.net/api/logs", Data);

if (HttpResponse.IsSuccessStatusCode)
{
Expand Down Expand Up @@ -146,7 +146,7 @@
{
Password = await Helper.Hash(Password)
};
HttpResponseMessage HttpResponse = await Http.PostAsJsonAsync("https://mole-factual-pleasantly.ngrok-free.app/api/clearlogs", Data);
HttpResponseMessage HttpResponse = await Http.PostAsJsonAsync("https://vetra.jordanmillett.net/api/clearlogs", Data);

if (HttpResponse.IsSuccessStatusCode)
{
Expand Down Expand Up @@ -196,7 +196,7 @@
{
Password = await Helper.Hash(Password)
};
HttpResponseMessage HttpResponse = await Http.PostAsJsonAsync("https://mole-factual-pleasantly.ngrok-free.app/api/clearsubscribers", Data);
HttpResponseMessage HttpResponse = await Http.PostAsJsonAsync("https://vetra.jordanmillett.net/api/clearsubscribers", Data);

if (HttpResponse.IsSuccessStatusCode)
{
Expand Down Expand Up @@ -246,7 +246,7 @@
{
Password = await Helper.Hash(Password)
};
HttpResponseMessage HttpResponse = await Http.PostAsJsonAsync("https://mole-factual-pleasantly.ngrok-free.app/api/shutdown", Data);
HttpResponseMessage HttpResponse = await Http.PostAsJsonAsync("https://vetra.jordanmillett.net/api/shutdown", Data);

if (HttpResponse.IsSuccessStatusCode)
{
Expand Down Expand Up @@ -308,7 +308,7 @@
},
Password = await Helper.Hash(Password)
};
HttpResponseMessage HttpResponse = await Http.PostAsJsonAsync("https://mole-factual-pleasantly.ngrok-free.app/api/notifications/send", Data);
HttpResponseMessage HttpResponse = await Http.PostAsJsonAsync("https://vetra.jordanmillett.net/api/notifications/send", Data);

if (HttpResponse.IsSuccessStatusCode)
{
Expand Down
6 changes: 3 additions & 3 deletions wwwroot/js/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ async function isServerOnline()

try
{
const response = await fetch("https://mole-factual-pleasantly.ngrok-free.app/api/pulse", {
const response = await fetch("https://vetra.jordanmillett.net/api/pulse", {
method: 'GET',
headers: {
'ngrok-skip-browser-warning': 'true'
Expand Down Expand Up @@ -87,8 +87,8 @@ async function updateNotificationStatus(staySubscribed)
try
{
url = staySubscribed ?
"https://mole-factual-pleasantly.ngrok-free.app/api/notifications/subscribe" :
"https://mole-factual-pleasantly.ngrok-free.app/api/notifications/unsubscribe";
"https://vetra.jordanmillett.net/api/notifications/subscribe" :
"https://vetra.jordanmillett.net/api/notifications/unsubscribe";

const response = await fetch(url, {
method: 'POST',
Expand Down

0 comments on commit 46582d8

Please sign in to comment.