Skip to content

Commit 3497a85

Browse files
committed
Update live-view.js
1 parent 6b39029 commit 3497a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

live-view/live-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ let liveFile;
742742
async function handleLiveViewRequest(requestPath) {
743743

744744
// if requesting base path
745-
if (requestPath === livePath) {
745+
if (requestPath.split('?')[0] === livePath) {
746746

747747
// return live file
748748
return {

0 commit comments

Comments
 (0)