Question about rejection of my PR's #111
Replies: 2 comments 2 replies
-
Please at least apply the diff --git a/bootstrap/app.php b/bootstrap/app.php
index 21b41272f..fa0504e38 100644
--- a/bootstrap/app.php
+++ b/bootstrap/app.php
@@ -16,7 +16,7 @@ return Application::configure(basePath: dirname(__DIR__))
health: '/up',
)
->withMiddleware(function (Middleware $middleware) {
- $middleware->redirectGuestsTo(fn () => route('login'));
+ $middleware->redirectGuestsTo(fn () => route('auth.login'));
$middleware->web(\App\Http\Middleware\LanguageMiddleware::class);
Since else it will give you an error when trying to contact the API when you're not logged in! |
Beta Was this translation helpful? Give feedback.
1 reply
-
I absolutely don’t want anybody to run this in a subdirectory, ever. You are free to make a plugin that accomplishes this down the road, but we cannot support that. As for this specific bug, thanks for pointing it out, I will look at that this week, thanks! In the future, please double check with the Pelican Team for any pull requests that aren’t a bug fix. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a question about rejection of my PR's, since I am not able to comment on them...
It is about #101 and #102
I said "This would allow later on to support running in an subfolder"
I didn't say that it should run in a subfolder!
The main reason why I created the PR is because the fact that the app is still using fixed static resource url's that don't change with the URL of the app!
The changes themselfs do not effect the app at all, only when you run in a subfolder.
And to also say it: "I have already been able to make it fully work in a subfolder", so it is possible, tho.
@lancepioch
Beta Was this translation helpful? Give feedback.
All reactions