Skip to content

Commit 25cfe61

Browse files
ikreymerSuaYoo
authored andcommitted
fix regex
1 parent 19963dc commit 25cfe61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/btrixcloud/pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ async def get_top_page_origins(
935935
"origin": {
936936
"$regexFind": {
937937
"input": "$url",
938-
"regex": "^https?://([^/])+",
938+
"regex": "^https?://([^/]+)",
939939
}
940940
}
941941
}

0 commit comments

Comments
 (0)