mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 22:40:01 -04:00
forgot to trim the url
This commit is contained in:
parent
4e557e0225
commit
2a319b9cf6
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ function App() {
|
||||||
});
|
});
|
||||||
|
|
||||||
const handleSubmit = () => {
|
const handleSubmit = () => {
|
||||||
|
this.url = this.url.trim();
|
||||||
// frame.go(this.url)
|
// frame.go(this.url)
|
||||||
if (!this.url.startsWith("http")) {
|
if (!this.url.startsWith("http")) {
|
||||||
this.url = "https://" + this.url;
|
this.url = "https://" + this.url;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue