Questions tagged [routes]
Questions about mapping URLs to Controllers and Actions.
routes
33,279
questions
-1
votes
1
answer
17
views
Why does my node.js server fetch files from a different location than what's in the url?
I have two websites on my Windows Server 2022 Datacenter (a VM on AWS). I set them up in sort of an unorthodox way. The first is at http://www.planetshah.com/pwv and the other is at http://www....
-3
votes
0
answers
17
views
Struggling to fix the routing problems I'm having in php [closed]
I'm having problems accessing the pages on my website using the routes that I set in the route.php file eg. localhost/online_library_1/categories, does not work, here is my folder structure, I don't ...
0
votes
1
answer
16
views
Angular 17 <router-outlet> works wrong
So i am building projects in angular and i found out that in devtools i can see my router-outlet and components are generated outside of it like that:
enter image description here
app.routes
`import { ...
0
votes
0
answers
20
views
how to load lazily loaded route in mat-sidebar-content?
I've a structure in Angular and we are following module based structure. Not standalone components.
SideBar Component
<mat-sidebar-container>
<mat-sidebar>
/* Sidebar Menu Items */
</...
0
votes
0
answers
12
views
《Google maps routes API》When doing real-time navigation, why is there no straight-ahead indication for the vehicle's direction of travel?
When I use the Google maps routes API for real-time navigation, I find that the track points do not have better segmentation step data. As a result, I cannot determine whether the current route is ...
0
votes
1
answer
38
views
Blazor upgrading from .NET 6 to .NET 8 - NavigateTo not working
I am moving a functioning .NET 6 application to .NET 8.
This was a wholly WebAssembly project. I have retained that but use the server side rendering of the home page to improve the user experience.
I ...
-3
votes
0
answers
24
views
Refused to execute script because its MIME type error [closed]
I'm trying to link a javascript file to a html file that is being render by my server at the route '/'. However when the html file is loaded in the browser I get the following error:
I tried using ...
-1
votes
0
answers
15
views
How to correctly route the packets through host and namespaces?
I am trying to route the packets from Client [Host], through namespaces [Demo0 -> Demo1], to Server [Host]. The packets should be routed to tun device 10.0.3.2, from where the black-box process ...
-1
votes
0
answers
43
views
The GET method is not supported for this route. Supported methods: HEAD.? [closed]
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
The GET method is not supported for this route. Supported methods: HEAD.
I keep getting this error when trying to upload my Laravel ...
0
votes
0
answers
5
views
Nuxt running on CMS - how to ignore part of the path?
I am deploying an app on a CMS. The path that is requested might look like this:
https://preview-blockstest-chesheast.cloud.contensis.com/roads/potholes
However, my app doesn't know about this path (...
0
votes
0
answers
19
views
this.$router.push not working in nginx server
the all funciton of routing vue.js project is working well in local test.
However, this.$router.push method doesn't work when testing nginx server.
The nginx server has the proper configuration to ...
1
vote
0
answers
36
views
The getter 'MyRoutes' isn't defined for the class 'MyApp'
I have two screens in my app 1. homepage 2. loginpage and I want to navigate from login page to homepage on a button click through routes.
the routes are define in separate file utils(folder)=>...
-1
votes
0
answers
25
views
while using mongodb with express, delete route is not working? [closed]
I am using Mongodb with express and creating a simple chat program . while creating a delete route i am not able to render a form to confirm password and it didn't even response console.log(id);
// ...
0
votes
0
answers
26
views
SvelteKit Redirect 308 when trying to access internal API from +page.server.ts
I am trying to retrieve data from a local API endpoint route within my SvelteKit application. I can confirm the endpoint works by navigating directly to it at http://localhost:5173/api/getSummary?...
0
votes
0
answers
16
views
Hugging Face Gradio API integrate with Nextjs 14.2
I wanted to deploy my ML model on web, so i hosted the model on hugging face and wanted to use the api for using it with my own UI.
console error image is added for reference.
The Web framework is not ...