mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-23 02:02:33 +01:00
Typo
This commit is contained in:
parent
cb8b3e54f6
commit
1b82beea6e
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ const SubscribePage = (props) => {
|
||||||
})();
|
})();
|
||||||
const updateBaseUrl = (ev, newVal) => {
|
const updateBaseUrl = (ev, newVal) => {
|
||||||
if (validUrl(newVal)) {
|
if (validUrl(newVal)) {
|
||||||
props.setBaseUrl(newVal.replace(/\/$/, '')); // strip traililng / after https?://
|
props.setBaseUrl(newVal.replace(/\/$/, '')); // strip trailing slash after https?://
|
||||||
} else {
|
} else {
|
||||||
props.setBaseUrl(newVal);
|
props.setBaseUrl(newVal);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue