Skip to content

Commit f99fe7d

Browse files
committed
Fix for multilingual website
1 parent a41992b commit f99fe7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "mrfd/kirby-mix",
33
"description": "Laravel Mix integration for Kirby 3, which hooks into the existing helper functions.",
44
"type": "kirby-plugin",
5-
"version": "1.0.3",
5+
"version": "1.0.4",
66
"support": {
77
"issues": "https://github.com/mrfd/kirby-mix/issues",
88
"source": "https://github.com/mrfd/kirby-mix",

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function isInternalUrl(Kirby $kirby, string $url): bool
3838
{
3939
$url = Url::to($url);
4040

41-
return \strpos($url, $kirby->site()->url()) !== false || \strpos($url, "/") === '0';
41+
return \strpos($url, $kirby->url()) !== false || \strpos($url, "/") === '0';
4242
}
4343

4444

0 commit comments

Comments
 (0)