diff --git a/index.php b/index.php index fe826ce..8ab3ed3 100644 --- a/index.php +++ b/index.php @@ -33,7 +33,8 @@ $routes = [ '/refresh' => 'load_twt_files.php', '/login' => 'login.php', '/logout' => 'logout.php', - '/profile/([a-zA-Z0-9_-]+)' => 'profile.php', + '/profile' => 'profile.php', + //'/profile/([a-zA-Z0-9_-]+)' => 'profile.php', '/conv/([a-zA-Z0-9]{7})' => 'conv.php', // matches only twtHash of exactly 7 alphanumeric characters '/post/([a-zA-Z0-9]{7})' => 'post.php', // matches only twtHash of exactly 7 alphanumeric characters ]; diff --git a/partials/header.php b/partials/header.php index 9794723..d91d584 100644 --- a/partials/header.php +++ b/partials/header.php @@ -18,8 +18,8 @@ $profile = getTwtsFromTwtxtString($config['public_txt_url']);

- Timeline for nick ?>@mainURL, PHP_URL_HOST); ?> - + nick ?>@mainURL, PHP_URL_HOST); ?> +