@@ -1,7 +1,8 @@
<?php
if (!isset($_GET['pos_id'])) {
- header("Location: {$_SERVER['HTTP_ORIGIN']}/mobile/config.html");
+ $host = (str_contains($_SERVER['HTTP_ORIGIN'], 'vorsortierter-flohmarkt.de')) ? "https://app.vorsortierter-flohmarkt.de" : "";
+ header("Location: {$host}/mobile/config.html");
exit();
}
?>