mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-17 00:47:54 +00:00
Typo
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user