aboutsummaryrefslogtreecommitdiff
path: root/Psso/Router.php
diff options
context:
space:
mode:
Diffstat (limited to 'Psso/Router.php')
-rw-r--r--Psso/Router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Psso/Router.php b/Psso/Router.php
index ba0dd53..6ad63cd 100644
--- a/Psso/Router.php
+++ b/Psso/Router.php
@@ -41,7 +41,7 @@ class Router {
function dispatch(string $path) {
// actually check the hostname lol
if ($_SERVER['HTTP_HOST'] != $this->config['site']['primary-domain'] &&
- $path != '/continue') {
+ $path != '/continue' && !str_starts_with($path, '/integration/')) {
header('Location: https://'
. $this->config['site']['primary-domain']);
return;