Skip to content

Commit 259d7d4

Browse files
authored
Merge pull request #5 from yunruse/patch-1
fix form not properly submitting ?url=
2 parents 1c35342 + 4823bf9 commit 259d7d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</style>
3939
</head>
4040
<body>
41-
<form id="previewform" onsubmit="location.href='/?'+this.file.value;return false">
41+
<form id="previewform" onsubmit="location.href='/?url='+this.file.value;return false">
4242
<h1>Git-Forge HTML Preview</h1>
4343
<p>
4444
Enter URL of the HTML file to preview:

0 commit comments

Comments
 (0)