Closed Explosion-Scratch closed 1 year ago
I registered a new account and found out that even without clicking the Visit Site
, I can still use the server 🤔
Did you go into trouble when you hadn't clicked that?
Strange, I asked some friends to test it out and one (and only one) of them cannot visit the ngrok
until he clicked the Visit Site
... I'll merge this PR then 😉
Strange, I asked some friends to test it out and one (and only one) of them cannot visit the
ngrok
until he clicked theVisit Site
... I'll merge this PR then 😉
Adding a custom User-Agent header in the webui when fetching would solve this. Just do:
fetch("url", {
headers: {
"User-Agent": "NoliCreator/e29b484"
}
})
Just curious, is the e29b484
in this piece of code:
fetch("url", {
headers: {
"User-Agent": "NoliCreator/e29b484"
}
})
a random string, or something important? 😏
Just curious, is the
e29b484
in this piece of code:fetch("url", { headers: { "User-Agent": "NoliCreator/e29b484" } })
a random string, or something important? 😏
Commit hash 😉 It would also be best practice to put (youremail@selfhostedemailisbetter.com)
after that
Got it! I'll dive into it a little bit later and try to integrate it in the webui codes! 😆