All Questions
Tagged with custom-routes or routes
33,399 questions
0
votes
1
answer
47
views
ASP.NET Core site can't find Default route on startup
I add a route named default with the pattern
{controller=Assets}/{action=Index}/{id?}
but I get an http 404 "Not Found" error.
If I type in /Assets in the browser, it finds the view, it's ...
2
votes
2
answers
130
views
No route to host Error 65: Python not able to fetch frame from Reolink IP camera
I would appreciate it if someone could take a look at this issue:
I am using a Reolink IP camera to regularly query a still image via Python. The camera is connected to a TP Link switch via a LAN ...
0
votes
1
answer
82
views
OSRM Indian map extraction fails on 32GB RAM system, partitioned zones still can’t create cross-zone routes
I’m trying to set up OSRM with the latest India map (india-latest.osm.pbf). My system specs are:
RAM: 32 GB
CPU: Intel i7 11th Gen (8 cores / 16 threads)
When I try to extract the map (osrm-extract), ...
1
vote
1
answer
129
views
Migrating from vanilla html to Astro: keep route name legacy
I built a site manually, without the help of any framework.
Each page is a html file, so the routes end with html, such as https://example.com/location.html
I am currently migrating it to Astro. But ...
0
votes
0
answers
103
views
ASP.NET Core Web API returns 404 on all endpoints despite correct routing and configuration
##Program.cs
```
app.UseHttpsRedirection();
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
app.MapGet("/", () => "API is alive");
````
...
0
votes
1
answer
119
views
How to redirect requests locally from one domain to another on mac
I need to test accepting requests from a custom domain to my local web server.
The idea is I have a main app domain
main-app.com
I provide a subdomain for users
user-1.main-app.com
Then the user can ...
0
votes
0
answers
18
views
On Apisix, my API request doesn't reach the target, but the http-logger plugin does. Why?
I am new on APISIX. I am struggling configuring a basic route.
I have configured an API target 192.168.224.130:3637 (which is an EAI waiting for HTTP request).
I have also configured a http-logger ...
-1
votes
1
answer
60
views
Docker build error => ERROR [ai-agent-service builder 5/6] COPY pyproject.toml poetry.lock* ./
There something is not correct either in Dockerfile of services, or docker-compose.yml, on one builds it builds the images successfully, and for second time build fails with below error, then when I ...
2
votes
1
answer
61
views
(only) URL doesn't update after navigation
I have recently updated my angular app from 18.x.x to 19.2.14.
I updated the angular version, so i could test my spec files.
The routing was working perfectly in the older version but i encountered a ...
0
votes
0
answers
63
views
How to create a route with parameters only, while still retaining predefined routes
I am attempting to create a very flexible routing system that allows users to configure their own publishable url paths to their own content pages, sort of like a CMS. To achieve this, I created a ...
0
votes
0
answers
51
views
ASSERTION ERROR: NgModule '_App' is not a subtype of 'NgModuleType'
I am having an Angular project with native federation and I have some problems here. I have error here. When I config routes to make shell connect to all components in a remote I have errors
ERROR ...
1
vote
2
answers
564
views
error NG0203: The `InjectionToken router duplicate forRoot guard` token injection failed
I am doing micro frontend project with angular and native federation and I have some problems here.
I have a host app with two remote apps. The first remote app I config and It works with both ...
0
votes
2
answers
275
views
Issue with Next.js 15.13 with promises and params
Writing a dynamic api route for page that accepts [slug] params.
export async function GET(request: NextRequest, { params }: { params: Promise<{ slug: string}> }) {
const {slug} = await ...
0
votes
1
answer
43
views
Configure route for dynamic query in API Express
I'm working in this API where I can access data for many queries, but I'm having problems to retrieve data for a query by name containing (like:%data%), with dynamic data. I think it might just be a ...
0
votes
0
answers
16
views
How to recreate a route from a Google Maps shared directions link with an API call?
I want to create an app where a users shares the directions link from the Google Maps app and the app generates a GPX file that can be used in a different navigation app.
For example, this short ...
0
votes
0
answers
30
views
I'm trying to use the firebase auth with phone number but Im struglling with a function in my react-expo mobile app
import { Router, Request, Response } from 'express';
import { deleteOtp, generateOtp, verifyOtp } from '../services/otp.services';
import { sendOtp } from '../utils/sendOtp';
const router = Router();
...
0
votes
1
answer
64
views
How can I dynamically generate load functions for multiple routes in SvelteKit without repeating code?
I have multiple routes that fetch data from different API endpoints, but the structure of the fetch logic is nearly identical. I want to avoid duplicating this logic across all +page.ts files.
I tried ...
0
votes
1
answer
138
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 ...
0
votes
0
answers
34
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 ...
1
vote
1
answer
212
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 ...
-1
votes
1
answer
71
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
0
answers
22
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 ...
0
votes
1
answer
91
views
Optional {locale} in routes messes up controller arguments (Laravel 11)
I have a project in laravel 11 and there are some issues with my config.
The site should support optional locale param to differentiate between default and custom language:
DE: https://example.com/...
0
votes
0
answers
54
views
Why is my router-outlet not working when wrapped in a child component
In an angular 16 app I have a simple UI component which takes content and puts it into a draggable pane.
draggable-pane.component.html
<ion-apple-clips #paneContainer>
<ng-content></...
0
votes
1
answer
229
views
Hi i am using next.js (15.1.7) with react (19.0.0) for the file which is getting used for dynamic route when i create a build i get error
Here's my pacakge.json
{
"name": "complex-routing-app",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "...