33,295 questions
0
votes
1
answer
13
views
middleware doesn't recognize session when using server actions
after some work i found out that when using server actions to hit some route handler the session will be undefined because server actions run on the server without a request context from the browser, ...
0
votes
0
answers
19
views
GCP load balancer url re-writing and backend-mapping not happening the way I'd expect
I am using a classic application load balancer with two backends. I want my main backend to handle most requests and my auth backend to handle requests to /auth/*. I've been playing around with ...
-3
votes
0
answers
40
views
I am getting an error: Fatal error: Uncaught Error: Class "Illuminate\Support\Facades\Route" not found in C:\xampp\htdocs\index.php
I am trying to setup a test environment on my local machine and installed composer, laravel and Xampp.
I have written the following basic code in the index.php file to test:
<?php
echo "Hello ...
-1
votes
0
answers
22
views
Generate relative-path URLs with Slim Router
Background
The Slim Router (the same as FastRoute?) seems to support routes only with leading slash (e.g. /home).
This is fine when the app is directly accessible at a domain (e.g. http://localhost/...
-2
votes
0
answers
39
views
VPN Routing Issue: two vpn at same time [closed]
Place A (my device) needs to connect to Place C.
Place C only accepts VPN connections from Place B’s IP range.
I have a WireGuard (or PiVPN) connection from Place A to Place B, so I get an IP from ...
0
votes
0
answers
19
views
OpenTripPlanner returns invalid tripId values not matching the requested service date
I'm using OpenTripPlanner 2 (OTP2) as the backend for a JavaFX-based transit map application. The GTFS data is loaded correctly, and routing works, but I encountered a serious issue.
Problem:
When ...
0
votes
0
answers
21
views
Next.JS middleware & front-end cookie synchronization
My team and I are building a web app with Next.JS, and we are mainly working on Front-end. The back-end was already implemented with another language because it's shared with our mobile apps.
Now I'm ...
0
votes
1
answer
48
views
How to add a function to my routes in a php framework?
Currently my routes are defined as
['GET', '/user/create', UserController::class]
But because of this controller file is a mess with if 'route' => $this->method
I'm struggling to find a way to ...
1
vote
1
answer
91
views
Angular Library Routing Not Working When Used Inside Angular 19 App
I'm working on an Angular 19 app that uses a custom Angular library, and I'm having trouble getting the routing inside the library to work properly.
The app is a legacy app and all the components are ...
-2
votes
0
answers
32
views
Middleware is not triggering in next.js web application [closed]
I am using below code in my middleware.js file in next.js application. Ideal when I go http://localhost:3000/home it should redirect to http://localhost:3000/, but it seems like my middleware is not ...
0
votes
0
answers
40
views
Issue with InteractiveServer in web app mixing Blazor, Razor and MVC pages in web app
I have .net 9 web app mixing Blazor, Razor and MVC pages. When I use URL with two segments, the InteractiveServer is not working.
Following code displays: Server | true
@page "/blazor"
@...
-1
votes
1
answer
49
views
Tests Do Not Detect Routes - Laravel
I created a route that functions OK, but my tests are unable to detect it. Since the test is of type feature, all Laravel features should be included.
I recently updated both my Composer and npm ...
0
votes
1
answer
63
views
route optimization api shipmentIndex undefined
I'm using the Route Optimization API, but I'm noticing that I'm not getting all my points and that the missing delivery doesn't have a shipmentIndex.
import { NextResponse } from 'next/server';
import ...
0
votes
0
answers
19
views
ASP.NET MVC Language coded url structure
My first goal is to get the id and code of the language when the user selects a language and keep it in the session. Because I will use the id for database queries and I want to be able to use the ...
1
vote
2
answers
42
views
Deployed app returns 404 instead redirect to specified component
I have configured my Angular 19 routes according to the angular.dev and it works as expected on localhost. However once I build and deploy my app behaviour of redirecting with wildcard is not working ...