This commit is contained in:
Percs 2024-10-03 18:31:13 -05:00
parent 941c545d58
commit e7f1814431
2 changed files with 9 additions and 10 deletions

View file

@ -150,15 +150,15 @@ function App() {
);
});
const handleSubmit = () => {
this.url = this.url.trim();
// frame.go(this.url)
if (!this.url.startsWith("http")) {
this.url = "https://" + this.url;
}
return frame.go(this.url);
}
const handleSubmit = () => {
this.url = this.url.trim();
// frame.go(this.url)
if (!this.url.startsWith("http")) {
this.url = "https://" + this.url;
}
return frame.go(this.url);
};
return html`
<div>